1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/development/node-packages/generate.sh
Jörg Thalheim 6f7670e831
nodePackages: split into v4/v6 package set
A full package set is not needed for both node versions. The goal is to
remove the large amount of generated files. Instead only packages which
might be needed in v4 development environments are added to a dedicated
node-packages-v4.json file.
2017-05-05 09:02:52 +01:00

7 lines
254 B
Bash
Executable file

#!/usr/bin/env nix-shell
#! nix-shell -i bash -p nodePackages.node2nix
rm -f node-env.nix
node2nix -i node-packages-v4.json -o node-packages-v4.nix -c composition-v4.nix
node2nix -6 -i node-packages-v6.json -o node-packages-v6.nix -c composition-v6.nix