2020-04-24 23:36:52 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
ROOT="$(realpath "$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")")"/../../../../..)"
|
|
|
|
|
|
|
|
set -eu -o pipefail
|
|
|
|
|
|
|
|
$(nix-build $ROOT -A nodePackages.node2nix --no-out-link)/bin/node2nix \
|
|
|
|
-i node-packages.json \
|
|
|
|
-o node-packages.nix \
|
|
|
|
-c node-composition.nix \
|
2021-02-13 14:23:35 +00:00
|
|
|
--no-copy-node-env -e ../../../node-packages/node-env.nix
|