mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 23:52:33 +00:00
6f7670e831
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.
7 lines
254 B
Bash
Executable file
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
|