nodejs_latest: 25.9.0 -> 26.0.0-rc.1

This commit is contained in:
Antoine du Hamel
2026-04-20 18:00:31 +02:00
parent 79dd4ac915
commit cbf6dd147a
4 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -337,7 +337,7 @@ gnuradioMinimal.override {
### Breaking changes {#sec-nixpkgs-release-26.05-lib-breaking}
- The `nodejs_latest` alias now points to `nodejs_25` instead of `nodejs_24`.
- The `nodejs_latest` alias now points to `nodejs_26` instead of `nodejs_24`.
- `nodejs-slim` no longer exposes a `corepack` executable, it has been moved to an ad-hoc output; to restore the previous behavior, `nodejs-slim.corepack` must be explicitely included.
@@ -23,8 +23,8 @@ let
[ ];
in
buildNodejs {
version = "25.9.0";
sha256 = "8f78af3ee55fb278668b5f801db58bd1a38ea161318eb5ce2128ddbc9cd813aa";
version = "26.0.0-rc.1";
sha256 = "sha256-Jys58NbFXoQXuhvzkqzwXXaK1GzcOehXIO1FIEQ60x4=";
patches =
(
if (stdenv.hostPlatform.emulatorAvailable buildPackages) then
+2
View File
@@ -1489,6 +1489,8 @@ mapAliases {
nixStable = throw "'nixStable' has been renamed to/replaced by 'nixVersions.stable'"; # Converted to throw 2025-10-27
nm-tray = throw "'nm-tray' has been removed, as it only works with Plasma 5"; # Added 2025-08-30
node2nix = throw "node2nix has been removed because it was only used to maintain the now-removed nodePackages set. Use the newer builders in nixpkgs instead, such as buildNpmPackage"; # Added 2026-03-03
nodejs-slim_25 = nodejs_25;
nodejs_25 = throw "Node.js 25 support was removed given upstream End-of-Life on 2026-06-01"; # Added 2026-04-26
nodePackages = throw "nodePackages has been removed. Many packages are now available at the top level (e.g. `pkgs.package-name`). Check on https://search.nixos.org to see if the package is still available."; # Added 2026-03-03
nodePackages_latest = throw "nodePackages has been removed. Many packages are now available at the top level (e.g. `pkgs.package-name`). Check on https://search.nixos.org to see if the package is still available."; # Added 2026-03-03
nofi = throw "'nofi' has been removed due to being archived upstream."; # Added 2026-01-16
+4 -4
View File
@@ -2766,12 +2766,12 @@ with pkgs;
nodejs_24 = callPackage ../development/web/nodejs/symlink.nix { nodejs-slim = nodejs-slim_24; };
corepack_24 = callPackage ../development/web/nodejs/corepack.nix { nodejs = nodejs-slim_24; };
nodejs-slim_25 = callPackage ../development/web/nodejs/v25.nix { };
nodejs_25 = callPackage ../development/web/nodejs/symlink.nix { nodejs-slim = nodejs-slim_25; };
nodejs-slim_26 = callPackage ../development/web/nodejs/v26.nix { };
nodejs_26 = callPackage ../development/web/nodejs/symlink.nix { nodejs-slim = nodejs-slim_26; };
# Update this when adding the newest nodejs major version!
nodejs_latest = nodejs_25;
nodejs-slim_latest = nodejs-slim_25;
nodejs_latest = nodejs_26;
nodejs-slim_latest = nodejs-slim_26;
buildNpmPackage = callPackage ../build-support/node/build-npm-package { };