fcc03dbfc5
GitOrigin-RevId: ff96a0fa5635770390b184ae74debea75c3fd534
13 lines
390 B
Bash
Executable file
13 lines
390 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
ROOT="$(realpath "$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")")"/../../../../..)"
|
|
|
|
set -eu -o pipefail
|
|
|
|
rm -f node-env.nix
|
|
$(nix-build $ROOT -A nodePackages.node2nix --no-out-link)/bin/node2nix \
|
|
--nodejs-12 \
|
|
-i node-packages.json \
|
|
-o node-packages.nix \
|
|
-c node-composition.nix \
|
|
--no-copy-node-env -e ../../../node-packages/node-env.nix
|