diff options
-rw-r--r-- | pkgs/crypto/cardano/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/crypto/cardano/default.nix b/pkgs/crypto/cardano/default.nix index 881928d..879fddb 100644 --- a/pkgs/crypto/cardano/default.nix +++ b/pkgs/crypto/cardano/default.nix | |||
@@ -1,8 +1,10 @@ | |||
1 | { stdenv, mylibs }: | 1 | { stdenv, mylibs }: |
2 | let | 2 | let |
3 | daedalusOrig = (import (mylibs.fetchedGithub ./daedalus.json).src {}).daedalus; | 3 | daedalusSrc = (mylibs.fetchedGithub ./daedalus.json).src; |
4 | daedalusOrig = (import daedalusSrc {}).daedalus; | ||
4 | cfg = stdenv.mkDerivation rec { | 5 | cfg = stdenv.mkDerivation rec { |
5 | name = "launcher-config-custom"; | 6 | name = "launcher-config-custom"; |
7 | buildInputs = [ daedalusSrc daedalusOrig.cfg ]; | ||
6 | src = daedalusOrig.cfg; | 8 | src = daedalusOrig.cfg; |
7 | installPhase = '' | 9 | installPhase = '' |
8 | cp -a $src $out | 10 | cp -a $src $out |
@@ -15,7 +17,7 @@ in | |||
15 | stdenv.mkDerivation rec { | 17 | stdenv.mkDerivation rec { |
16 | name = "daedalus-custom"; | 18 | name = "daedalus-custom"; |
17 | src = daedalusOrig; | 19 | src = daedalusOrig; |
18 | buildInputs = [ daedalusOrig ]; | 20 | buildInputs = [ cfg daedalusOrig ]; |
19 | installPhase = '' | 21 | installPhase = '' |
20 | cp -a $src $out | 22 | cp -a $src $out |
21 | chmod -R u+w $out | 23 | chmod -R u+w $out |