nodejs_22: init at 22.0.0
Changelog: https://github.com/nodejs/node/releases/tag/v22.0.0
This commit is contained in:
parent
ee8fd5caf0
commit
ba733f8000
18
pkgs/development/web/nodejs/v22.nix
Normal file
18
pkgs/development/web/nodejs/v22.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ callPackage, openssl, python3, enableNpm ? true }:
|
||||
|
||||
let
|
||||
buildNodejs = callPackage ./nodejs.nix {
|
||||
inherit openssl;
|
||||
python = python3;
|
||||
};
|
||||
in
|
||||
buildNodejs {
|
||||
inherit enableNpm;
|
||||
version = "22.0.0";
|
||||
sha256 = "sha256-IuKPv/MfaQc7gCTLQnReUQX4QEHzR1smC5fVoUEDnRo=";
|
||||
patches = [
|
||||
./disable-darwin-v8-system-instrumentation-node19.patch
|
||||
./bypass-darwin-xcrun-node16.patch
|
||||
./node-npm-build-npm-package-logic.patch
|
||||
];
|
||||
}
|
|
@ -10161,10 +10161,14 @@ with pkgs;
|
|||
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 { };
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user