From a3884ba5ae44fdfd5938035fd6c7fcaebb967714 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Fri, 10 Oct 2025 12:24:26 +0200 Subject: [PATCH] nodejs_24: 24.9.0 -> 24.10.0 (cherry picked from commit 23f9169c4ccce521379e602cc82ed873a1f1b52b) --- pkgs/development/web/nodejs/v24.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/development/web/nodejs/v24.nix b/pkgs/development/web/nodejs/v24.nix index b9eb0462a5f3..fa5529bed3c3 100644 --- a/pkgs/development/web/nodejs/v24.nix +++ b/pkgs/development/web/nodejs/v24.nix @@ -17,8 +17,8 @@ let in buildNodejs { inherit enableNpm; - version = "24.9.0"; - sha256 = "f17bc4cb01f59098c34a288c1bb109a778867c14eeb0ebbd608d0617b1193bbf"; + version = "24.10.0"; + sha256 = "f17e36cb2cc8c34a9215ba57b55ce791b102e293432ed47ad63cbaf15f78678f"; patches = ( if (stdenv.hostPlatform.emulatorAvailable buildPackages) then @@ -59,6 +59,14 @@ buildNodejs { includes = [ "tools/gyp/pylib/gyp/xcode_emulation.py" ]; revert = true; }) + (fetchpatch2 { + url = "https://github.com/nodejs/node/commit/886e4b3b534a9f3ad2facbc99097419e06615900.patch?full_index=1"; + hash = "sha256-DJTH8wVAAnoCTsUhYjsr1DV/EhFaduDpzETfer7WUL0="; + stripLen = 2; + extraPrefix = "deps/npm/node_modules/node-gyp/"; + includes = [ "deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py" ]; + revert = true; + }) ./bypass-darwin-xcrun-node16.patch ] ++ lib.optionals (!stdenv.buildPlatform.isDarwin) [