From 629f720b67025148a4e08ea15ea94327cf661a56 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Fri, 1 Aug 2025 00:32:49 +0200 Subject: [PATCH] nodejs_22: 22.17.1 -> 22.18.0 --- pkgs/development/web/nodejs/v22.nix | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/pkgs/development/web/nodejs/v22.nix b/pkgs/development/web/nodejs/v22.nix index ff3655c4db56..4300e2963713 100644 --- a/pkgs/development/web/nodejs/v22.nix +++ b/pkgs/development/web/nodejs/v22.nix @@ -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="; - }) ]; }