Merge pull request #306612 from marsam/add-nodejs_22
nodejs_22: init at 22.0.0
This commit is contained in:
commit
6b78a94909
2 changed files with 8 additions and 8 deletions
|
@ -8,8 +8,8 @@ let
|
||||||
in
|
in
|
||||||
buildNodejs {
|
buildNodejs {
|
||||||
inherit enableNpm;
|
inherit enableNpm;
|
||||||
version = "21.7.3";
|
version = "22.0.0";
|
||||||
sha256 = "08csswa1h55l9zvfjc4g1ksicgl42pbz7g1bc9hgy77w3gxjd2v6";
|
sha256 = "sha256-IuKPv/MfaQc7gCTLQnReUQX4QEHzR1smC5fVoUEDnRo=";
|
||||||
patches = [
|
patches = [
|
||||||
./disable-darwin-v8-system-instrumentation-node19.patch
|
./disable-darwin-v8-system-instrumentation-node19.patch
|
||||||
./bypass-darwin-xcrun-node16.patch
|
./bypass-darwin-xcrun-node16.patch
|
|
@ -10155,14 +10155,14 @@ with pkgs;
|
||||||
nodejs-slim_20 = callPackage ../development/web/nodejs/v20.nix { enableNpm = false; };
|
nodejs-slim_20 = callPackage ../development/web/nodejs/v20.nix { enableNpm = false; };
|
||||||
corepack_20 = hiPrio (callPackage ../development/web/nodejs/corepack.nix { nodejs = nodejs_20; });
|
corepack_20 = hiPrio (callPackage ../development/web/nodejs/corepack.nix { nodejs = nodejs_20; });
|
||||||
|
|
||||||
nodejs_21 = callPackage ../development/web/nodejs/v21.nix { };
|
nodejs_22 = callPackage ../development/web/nodejs/v22.nix { };
|
||||||
nodejs-slim_21 = callPackage ../development/web/nodejs/v21.nix { enableNpm = false; };
|
nodejs-slim_22 = callPackage ../development/web/nodejs/v22.nix { enableNpm = false; };
|
||||||
corepack_21 = hiPrio (callPackage ../development/web/nodejs/corepack.nix { nodejs = nodejs_21; });
|
corepack_22 = hiPrio (callPackage ../development/web/nodejs/corepack.nix { nodejs = nodejs_22; });
|
||||||
|
|
||||||
# Update this when adding the newest nodejs major version!
|
# Update this when adding the newest nodejs major version!
|
||||||
nodejs_latest = nodejs_21;
|
nodejs_latest = nodejs_22;
|
||||||
nodejs-slim_latest = nodejs-slim_21;
|
nodejs-slim_latest = nodejs-slim_22;
|
||||||
corepack_latest = hiPrio corepack_21;
|
corepack_latest = hiPrio corepack_22;
|
||||||
|
|
||||||
buildNpmPackage = callPackage ../build-support/node/build-npm-package { };
|
buildNpmPackage = callPackage ../build-support/node/build-npm-package { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue