nodejs: switch from 14.x to 16.x to keep up with the lts release (#142915)

* nodejs: switch from 14.x to 16.x to keep up with the lts release

See: https://nodejs.org/en/about/releases/

* nodePackages: stick to nodejs-14_x while node2nix is broken on 16.x
This commit is contained in:
Ivan Babrou 2021-11-25 09:29:37 -08:00 committed by GitHub
parent 4ff2a23953
commit 4c60ee3da1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7117,9 +7117,9 @@ with pkgs;
nixnote2 = libsForQt514.callPackage ../applications/misc/nixnote2 { };
nodejs = hiPrio nodejs-14_x;
nodejs = hiPrio nodejs-16_x;
nodejs-slim = nodejs-slim-14_x;
nodejs-slim = nodejs-slim-16_x;
nodejs-10_x = callPackage ../development/web/nodejs/v10.nix {
@ -7152,7 +7152,10 @@ with pkgs;
nodePackages_latest = dontRecurseIntoAttrs nodejs_latest.pkgs;
nodePackages = dontRecurseIntoAttrs nodejs.pkgs;
nodePackages = (dontRecurseIntoAttrs nodejs.pkgs).override {
# It does not work on 16.x: https://github.com/NixOS/nixpkgs/issues/132456
nodejs = nodejs-14_x;
};
np2kai = callPackage ../misc/emulators/np2kai { };