-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nodePackages: move to nodejs-14_x, regenerate #149120
Conversation
Result of 1 package marked as broken and skipped:
1 packages failed to build:
46 packages built:
|
Logs for rust-analyzer: https://p.krebsco.de/0nhf2a6 |
After 6-7 nixpkgs-review runs I got rid of all flaky build errors. Just wow. Anyway, rust-analyzer is already broken on master, so not a blocker for this PR. |
#142915 (currently in staging) moved |
rust-analyzer should be build by the same node that VS Code is using and that if I am not mistaken is still |
Hmm, |
I fix the rust-analyzer build failure in oxalica@3a85e13 . Please I seems more like a workaround since it's actually |
The build is already broken on master, so it would be better to create a separate PR. |
It seems that changes to node2nix are ultimately needed so that it outputs package lock files in the format expected by Node 16. Right now it outputs the older format, so packages can only be built with 14. |
Does it? I checked 5753b89 and |
NodeJS 12.x will not be supported when we release 22.05. https://nodejs.org/en/about/releases/
The shell script felt somewhat crammed, with commands and comments on every line. Grouping commands and comments and giving them some space feels like an improvement to me.
952f287
to
a6d04cc
Compare
Regenerated with nodejs-14_x. |
Fixes regression caused by 4c60ee3 (pull: NixOS#142915) following patch of nodePackages using nodejs-14_x 2c3b3e6 (pull: NixOS#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
Fixes regression caused by 4c60ee3 (pull: NixOS#142915) following patch of nodePackages using nodejs-14_x 2c3b3e6 (pull: NixOS#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 (cherry picked from commit 26b74d2)
Motivation for this change
We should probably try to track the active LTS release of NodeJS for the package set, if that works.
If not, then we should at least move to nodejs 14.x, since 12.x will be EOL before the 22.05 release.
I added an optioniated reformatting commit for
generate.sh
, but that's totally optional and I don't mind if we don't want to reformat things unnecesarily.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes