mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03: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
|