3
0
Fork 0
forked from mirrors/nixpkgs

nodePackages: make generate.sh fail fast on error

This commit is contained in:
Jörg Thalheim 2018-11-16 10:59:59 +00:00
parent d39baf61eb
commit 9d9ba8f4c1
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -1,6 +1,8 @@
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p nodePackages.node2nix
set -eu -o pipefail
rm -f node-env.nix
node2nix -6 -i node-packages-v6.json -o node-packages-v6.nix -c composition-v6.nix
node2nix -8 -i node-packages-v8.json -o node-packages-v8.nix -c composition-v8.nix