nixpkgs/pkgs/tools/misc/ntfy-sh/generate-dependencies.sh
2022-10-07 21:58:37 -04:00

12 lines
384 B
Bash
Executable File

#!/usr/bin/env bash
ROOT="$(realpath "$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")")"/../../../..)"
$(nix-build $ROOT -A nodePackages.node2nix --no-out-link)/bin/node2nix \
--nodejs-14 \
--node-env ../../../development/node-packages/node-env.nix \
--development \
--lock ./package-lock-temp.json \
--output node-packages.nix \
--composition node-composition.nix