3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/matrix-synapse/matrix-appservice-slack/generate-dependencies.sh

12 lines
373 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2019-10-06 19:57:15 +01:00
ROOT="$(realpath "$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")")"/../../../..)"
2019-10-06 19:57:15 +01:00
$(nix-build $ROOT -A nodePackages.node2nix --no-out-link)/bin/node2nix \
--nodejs-12 \
2019-10-06 19:57:15 +01:00
--node-env ../../../development/node-packages/node-env.nix \
--development \
--input package.json \
--output node-packages.nix \
--composition node-composition.nix