diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-26 14:05:15 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-26 14:05:15 +0200 |
commit | dff8b5932bd45c9b3c21209e076b0c0d140bc2f5 (patch) | |
tree | 0fc2237e7ebdd2ce7c8ab40a960d3c6abee62d8e /pkgs/crypto | |
parent | 676e68e3394eeb07a02745d1cf191db9fee9e610 (diff) | |
download | Nix-dff8b5932bd45c9b3c21209e076b0c0d140bc2f5.tar.gz Nix-dff8b5932bd45c9b3c21209e076b0c0d140bc2f5.tar.zst Nix-dff8b5932bd45c9b3c21209e076b0c0d140bc2f5.zip |
Use mylibs explicitly in pkgs
Diffstat (limited to 'pkgs/crypto')
-rw-r--r-- | pkgs/crypto/cardano/default.nix | 4 | ||||
-rw-r--r-- | pkgs/crypto/iota-cli-app/default.nix | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/crypto/cardano/default.nix b/pkgs/crypto/cardano/default.nix index b7cfb9f..881928d 100644 --- a/pkgs/crypto/cardano/default.nix +++ b/pkgs/crypto/cardano/default.nix | |||
@@ -1,6 +1,6 @@ | |||
1 | { stdenv, fetchedGithub }: | 1 | { stdenv, mylibs }: |
2 | let | 2 | let |
3 | daedalusOrig = (import (fetchedGithub ./daedalus.json).src {}).daedalus; | 3 | daedalusOrig = (import (mylibs.fetchedGithub ./daedalus.json).src {}).daedalus; |
4 | cfg = stdenv.mkDerivation rec { | 4 | cfg = stdenv.mkDerivation rec { |
5 | name = "launcher-config-custom"; | 5 | name = "launcher-config-custom"; |
6 | src = daedalusOrig.cfg; | 6 | src = daedalusOrig.cfg; |
diff --git a/pkgs/crypto/iota-cli-app/default.nix b/pkgs/crypto/iota-cli-app/default.nix index a027098..b945fd9 100644 --- a/pkgs/crypto/iota-cli-app/default.nix +++ b/pkgs/crypto/iota-cli-app/default.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { stdenv, fetchedGithub, fetchurl, fetchgit, callPackage, nodePackages, nodejs-8_x }: | 1 | { stdenv, mylibs, fetchurl, fetchgit, callPackage, nodePackages, nodejs-8_x }: |
2 | let | 2 | let |
3 | nodeEnv = callPackage "${nodePackages.node2nix}/lib/node_modules/node2nix/nix/node-env.nix" { | 3 | nodeEnv = callPackage "${nodePackages.node2nix}/lib/node_modules/node2nix/nix/node-env.nix" { |
4 | nodejs = nodejs-8_x; | 4 | nodejs = nodejs-8_x; |
@@ -6,7 +6,7 @@ let | |||
6 | # built using node2nix -8 -l package-lock.json | 6 | # built using node2nix -8 -l package-lock.json |
7 | # and changing "./." to "src" | 7 | # and changing "./." to "src" |
8 | packageEnv = import ./iota-cli-app-node-packages.nix { | 8 | packageEnv = import ./iota-cli-app-node-packages.nix { |
9 | src = stdenv.mkDerivation (fetchedGithub ./iota-cli-app.json // { | 9 | src = stdenv.mkDerivation (mylibs.fetchedGithub ./iota-cli-app.json // { |
10 | phases = "installPhase"; | 10 | phases = "installPhase"; |
11 | installPhase = '' | 11 | installPhase = '' |
12 | cp -a $src $out | 12 | cp -a $src $out |