Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / servers / web-apps / ethercalc / generate.sh
blobd87c9b93966b18ad02b3fbf8299a84d7e38690a0
1 #!/usr/bin/env nix-shell
2 #! nix-shell -i bash -p nodePackages.node2nix
4 # Run this script not via `./generate.sh`, but via `$PWD/generate.sh`.
5 # Else `nix-shell` will not find this script.
7 set -euo pipefail
9 cd -- "$(dirname -- "$BASH_SOURCE[0]")"
11 node2nix \
12 --nodejs-14 \
13 --input node-packages.json \
14 --output node-packages-generated.nix \
15 --composition node-packages.nix \
16 --node-env ../../../development/node-packages/node-env.nix