forked from mirrors/nixpkgs
f7ff79892c
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.
10 lines
382 B
Bash
Executable file
10 lines
382 B
Bash
Executable file
#!/usr/bin/env nix-shell
|
|
#! nix-shell -I nixpkgs=../../.. -i bash -p nodePackages.node2nix
|
|
# NOTE: Script must be run from the node-packages directory
|
|
|
|
set -eu -o pipefail
|
|
|
|
rm -f node-env.nix
|
|
node2nix --nodejs-10 -i node-packages-v10.json -o node-packages-v10.nix -c composition-v10.nix
|
|
node2nix --nodejs-12 -i node-packages-v12.json -o node-packages-v12.nix -c composition-v12.nix
|