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