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
|
|
|
|
|
|
|
|
node2nix -6 \
|
|
|
|
--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
|