mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
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
12 lines
353 B
Bash
Executable File
12 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
|