nixpkgs-suyu/pkgs/development/node-packages/generate.sh
2016-10-30 09:54:55 +01:00

6 lines
244 B
Bash
Executable file

#!/bin/sh -e
rm -f node-env.nix
node2nix -i node-packages.json -o node-packages-v4.nix -c composition-v4.nix
# node2nix doesn't explicitely support node v6 so far
node2nix -5 -i node-packages.json -o node-packages-v6.nix -c composition-v6.nix