nodejs_22: 22.17.1 -> 22.18.0

This commit is contained in:
Antoine du Hamel
2025-08-01 00:32:49 +02:00
parent 2493c8c132
commit 629f720b67
+2 -14
View File
@@ -14,15 +14,11 @@ let
inherit openssl;
python = python3;
};
gypPatches = callPackage ./gyp-patches.nix {
patch_tools = false;
};
in
buildNodejs {
inherit enableNpm;
version = "22.17.1";
sha256 = "327415fd76fcebb98133bf56e2d90e3ac048b038fac2676f03b6db91074575b9";
version = "22.18.0";
sha256 = "120e0f74419097a9fafae1fd80b9de7791a587e6f1c48c22b193239ccd0f7084";
patches =
(
if (stdenv.hostPlatform.emulatorAvailable buildPackages) then
@@ -48,7 +44,6 @@ buildNodejs {
hash = "sha256-hSTLljmVzYmc3WAVeRq9EPYluXGXFeWVXkykufGQPVw=";
})
]
++ gypPatches
++ [
./configure-armv6-vfpv2.patch
./disable-darwin-v8-system-instrumentation-node19.patch
@@ -56,12 +51,5 @@ buildNodejs {
./node-npm-build-npm-package-logic.patch
./use-correct-env-in-tests.patch
./bin-sh-node-run-v22.patch
# Fix for flaky test
# TODO: remove when included in a release
(fetchpatch2 {
url = "https://github.com/nodejs/node/commit/cd685fe3b6b18d2a1433f2635470513896faebe6.patch?full_index=1";
hash = "sha256-KA7WBFnLXCKx+QVDGxFixsbj3Y7uJkAKEUTeLShI1Xo=";
})
];
}