Merge pull request #306612 from marsam/add-nodejs_22

nodejs_22: init at 22.0.0
This commit is contained in:
Mario Rodas 2024-04-24 23:43:26 -05:00 committed by GitHub
commit 6b78a94909
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

View File

@ -8,8 +8,8 @@ let
in
buildNodejs {
inherit enableNpm;
version = "21.7.3";
sha256 = "08csswa1h55l9zvfjc4g1ksicgl42pbz7g1bc9hgy77w3gxjd2v6";
version = "22.0.0";
sha256 = "sha256-IuKPv/MfaQc7gCTLQnReUQX4QEHzR1smC5fVoUEDnRo=";
patches = [
./disable-darwin-v8-system-instrumentation-node19.patch
./bypass-darwin-xcrun-node16.patch

View File

@ -10155,14 +10155,14 @@ with pkgs;
nodejs-slim_20 = callPackage ../development/web/nodejs/v20.nix { enableNpm = false; };
corepack_20 = hiPrio (callPackage ../development/web/nodejs/corepack.nix { nodejs = nodejs_20; });
nodejs_21 = callPackage ../development/web/nodejs/v21.nix { };
nodejs-slim_21 = callPackage ../development/web/nodejs/v21.nix { enableNpm = false; };
corepack_21 = hiPrio (callPackage ../development/web/nodejs/corepack.nix { nodejs = nodejs_21; });
nodejs_22 = callPackage ../development/web/nodejs/v22.nix { };
nodejs-slim_22 = callPackage ../development/web/nodejs/v22.nix { enableNpm = false; };
corepack_22 = hiPrio (callPackage ../development/web/nodejs/corepack.nix { nodejs = nodejs_22; });
# Update this when adding the newest nodejs major version!
nodejs_latest = nodejs_21;
nodejs-slim_latest = nodejs-slim_21;
corepack_latest = hiPrio corepack_21;
nodejs_latest = nodejs_22;
nodejs-slim_latest = nodejs-slim_22;
corepack_latest = hiPrio corepack_22;
buildNpmPackage = callPackage ../build-support/node/build-npm-package { };