Skip to content

Commit

Permalink
nodejs: switch from 14.x to 16.x to keep up with the lts release (#14…
Browse files Browse the repository at this point in the history
…2915)

* 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
  • Loading branch information
bobrik authored Nov 25, 2021
1 parent 4ff2a23 commit 4c60ee3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 { };

Expand Down

0 comments on commit 4c60ee3

Please sign in to comment.