2019-05-14 21:09:34 +01:00
|
|
|
#!/usr/bin/env nix-shell
|
2019-09-07 23:49:46 +01:00
|
|
|
#! nix-shell -i bash -I nixpkgs=../../../.. -p nodePackages.node2nix nodePackages.bower2nix
|
2019-05-14 21:09:34 +01:00
|
|
|
set -euo pipefail
|
|
|
|
|
2020-03-15 15:37:47 +00:00
|
|
|
node2nix --nodejs-10 \
|
2019-05-14 21:09:34 +01:00
|
|
|
--input node-packages.json \
|
|
|
|
--output node-packages-generated.nix \
|
|
|
|
--composition node-packages.nix \
|
|
|
|
--node-env ../../../development/node-packages/node-env.nix \
|
|
|
|
|
|
|
|
# TODO: bower2nix > bower-packages.nix
|