2020-05-28 13:03:00 +01: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 22:47:32 +01:00
|
|
|
--nodejs-14 \
|
2020-05-28 13:03:00 +01:00
|
|
|
--node-env ../../../development/node-packages/node-env.nix \
|
|
|
|
--development \
|
2021-09-07 22:47:32 +01:00
|
|
|
--lock ./package-lock-temp.json \
|
2020-05-28 13:03:00 +01:00
|
|
|
--output node-packages.nix \
|
|
|
|
--composition node-composition.nix
|