From f7ff79892cbc296afea7d5f2cc33ba1f78480fa6 Mon Sep 17 00:00:00 2001 From: Riley Inman Date: Tue, 24 Sep 2019 07:33:08 -0400 Subject: [PATCH] nodePackages: Use repo tree as nixpkgs This will make sure that generate.sh uses the correct version of node2nix when building nodePackages, since the current version on 19.03 is 1.6.0 and the tree should be built with 1.7.0. --- pkgs/development/node-packages/generate.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/node-packages/generate.sh b/pkgs/development/node-packages/generate.sh index dafbcb17f7e8..06c4c8213666 100755 --- a/pkgs/development/node-packages/generate.sh +++ b/pkgs/development/node-packages/generate.sh @@ -1,5 +1,6 @@ #!/usr/bin/env nix-shell -#! nix-shell -i bash -p nodePackages.node2nix +#! nix-shell -I nixpkgs=../../.. -i bash -p nodePackages.node2nix +# NOTE: Script must be run from the node-packages directory set -eu -o pipefail