spark-wallet: add flakes compatibility

Pure flakes can't use NIX_PATH.
This commit is contained in:
Erik Arvstedt
2021-03-16 12:46:19 +01:00
parent 81db927f66
commit d214605b32
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-10_x"}:
let
nodeEnv = import ./node-env.nix {
nodeEnv = import "${toString pkgs.path}/pkgs/development/node-packages/node-env.nix" {
inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile;
inherit nodejs;
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;