1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00
nixpkgs/pkgs/servers/web-apps/ethercalc/generate.sh
2022-01-29 20:56:06 +01:00

16 lines
442 B
Bash
Executable file

#!/usr/bin/env nix-shell
#! nix-shell -i bash -p nodePackages.node2nix
# Run this script not via `./generate.sh`, but via `$PWD/generate.sh`.
# Else `nix-shell` will not find this script.
set -euo pipefail
cd -- "$(dirname -- "$BASH_SOURCE[0]")"
node2nix \
--input node-packages.json \
--output node-packages-generated.nix \
--composition node-packages.nix \
--node-env ../../../development/node-packages/node-env.nix