2017-05-05 08:31:21 +01:00
|
|
|
#!/usr/bin/env nix-shell
|
2019-09-24 12:33:08 +01:00
|
|
|
#! nix-shell -I nixpkgs=../../.. -i bash -p nodePackages.node2nix
|
|
|
|
# NOTE: Script must be run from the node-packages directory
|
2016-09-01 13:12:12 +01:00
|
|
|
|
2018-11-16 10:59:59 +00:00
|
|
|
set -eu -o pipefail
|
|
|
|
|
2016-09-01 13:12:12 +01:00
|
|
|
rm -f node-env.nix
|
2018-06-29 21:43:54 +01:00
|
|
|
node2nix --nodejs-10 -i node-packages-v10.json -o node-packages-v10.nix -c composition-v10.nix
|
2019-06-05 22:48:42 +01:00
|
|
|
node2nix --nodejs-12 -i node-packages-v12.json -o node-packages-v12.nix -c composition-v12.nix
|