3 daedalusSrc = (mylibs.fetchedGithub ./daedalus.json).src;
4 daedalusOrig = (import daedalusSrc {}).daedalus;
5 cfg = stdenv.mkDerivation rec {
6 name = "launcher-config-custom";
7 buildInputs = [ daedalusSrc daedalusOrig.cfg ];
8 src = daedalusOrig.cfg;
13 sed -e "/^walletPath/d" -e "/^walletArgs/d" launcher-config.yaml > launcher-config-server-only.yaml
17 stdenv.mkDerivation rec {
18 name = "daedalus-custom";
20 buildInputs = [ cfg daedalusOrig ];
25 sed -i -e "s@${builtins.storeDir}/[0-9a-z]*-daedalus-config@${cfg}/etc@" daedalus
26 sed -e "s@${cfg}/etc/launcher-config.yaml@${cfg}/etc/launcher-config-server-only.yaml@" daedalus > daedalus-server-only
27 chmod a+x daedalus-server-only