78efc47b99
GitOrigin-RevId: 83cbad92d73216bb0d9187c56cce0b91f9121d5a
15 lines
513 B
Bash
Executable file
15 lines
513 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 \
|
|
# TODO: Switch to the commented out version once nodejs package set gets updated to new node2nix
|
|
-e node-env.nix
|
|
# --no-copy-node-env -e ../../../node-packages/node-env.nix
|