2020-04-24 23:36:52 +00:00
|
|
|
#!/usr/bin/env nix-shell
|
|
|
|
#! nix-shell -i bash -I nixpkgs=../../../.. -p nodePackages.node2nix nodePackages.bower2nix
|
|
|
|
set -euo pipefail
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
node2nix --nodejs-12 \
|
2020-04-24 23:36:52 +00: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
|