26b74d2938
Fixes regression caused by4c60ee3da1
(pull: #142915) following patch of nodePackages using nodejs-14_x2c3b3e69ad
(pull: #149120) - clenups and updates in generate-node-packages.sh - specify nodejs version in default.nix This makes elmPackages.* build with nodejs-14 which resolves the issue with npm installation failing
11 lines
353 B
Bash
Executable file
11 lines
353 B
Bash
Executable file
#!/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 \
|
|
--no-copy-node-env -e ../../../node-packages/node-env.nix
|