nixpkgs/pkgs/servers/web-apps/cryptpad/generate.sh

12 lines
374 B
Bash
Raw Normal View History

2019-05-14 22:09:34 +02:00
#!/usr/bin/env nix-shell
#! nix-shell -i bash -I nixpkgs=../../../.. -p nodePackages.node2nix nodePackages.bower2nix
2019-05-14 22:09:34 +02: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