mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-11 15:08:52 +03:00
Merge pull request #226983 from JamieMagee/node-20
nodejs_20: init at 20.0.0
This commit is contained in:
commit
31b6eca6c3
19
pkgs/development/web/nodejs/v20.nix
Normal file
19
pkgs/development/web/nodejs/v20.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ callPackage, openssl, fetchpatch, python3, enableNpm ? true }:
|
||||
|
||||
let
|
||||
buildNodejs = callPackage ./nodejs.nix {
|
||||
inherit openssl;
|
||||
python = python3;
|
||||
};
|
||||
|
||||
in
|
||||
buildNodejs {
|
||||
inherit enableNpm;
|
||||
version = "20.0.0";
|
||||
sha256 = "sha256-dFDnV5Vo99HLOYGFz85HLaKDeyqjbFliCyLOS5d7XLU=";
|
||||
patches = [
|
||||
./revert-arm64-pointer-auth.patch
|
||||
./disable-darwin-v8-system-instrumentation-node19.patch
|
||||
./bypass-darwin-xcrun-node16.patch
|
||||
];
|
||||
}
|
@ -9400,9 +9400,13 @@ with pkgs;
|
||||
nodejs-slim-19_x = callPackage ../development/web/nodejs/v19.nix {
|
||||
enableNpm = false;
|
||||
};
|
||||
nodejs_20 = callPackage ../development/web/nodejs/v20.nix { };
|
||||
nodejs-slim_20 = callPackage ../development/web/nodejs/v20.nix {
|
||||
enableNpm = false;
|
||||
};
|
||||
# Update this when adding the newest nodejs major version!
|
||||
nodejs_latest = nodejs-19_x;
|
||||
nodejs-slim_latest = nodejs-slim-19_x;
|
||||
nodejs_latest = nodejs_20;
|
||||
nodejs-slim_latest = nodejs-slim_20;
|
||||
|
||||
buildNpmPackage = callPackage ../build-support/node/build-npm-package { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user