2020-05-28 14:03:00 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
ROOT="$(realpath "$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")")"/../../../..)"
|
|
|
|
|
|
|
|
$(nix-build $ROOT -A nodePackages.node2nix --no-out-link)/bin/node2nix \
|
2021-09-07 23:47:32 +02:00
|
|
|
--nodejs-14 \
|
2020-05-28 14:03:00 +02:00
|
|
|
--node-env ../../../development/node-packages/node-env.nix \
|
|
|
|
--development \
|
2021-09-07 23:47:32 +02:00
|
|
|
--lock ./package-lock-temp.json \
|
2020-05-28 14:03:00 +02:00
|
|
|
--output node-packages.nix \
|
|
|
|
--composition node-composition.nix
|