From d7211731d89af9d8930fab948a1a372e15119a02 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 21 May 2025 17:26:11 +0200 Subject: [PATCH] nodejs_22: 22.15.1 -> 22.16.0 --- pkgs/development/web/nodejs/v22.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/web/nodejs/v22.nix b/pkgs/development/web/nodejs/v22.nix index 08aa541282b3..462766a97d27 100644 --- a/pkgs/development/web/nodejs/v22.nix +++ b/pkgs/development/web/nodejs/v22.nix @@ -17,8 +17,8 @@ let in buildNodejs { inherit enableNpm; - version = "22.15.1"; - sha256 = "c19f0177d21c621746625e5f37590bd0d79a72043b77b53784cba5f145e7263e"; + version = "22.16.0"; + sha256 = "720894f323e5c1ac24968eb2676660c90730d715cb7f090be71a668662a17c37"; patches = ( if (stdenv.hostPlatform.emulatorAvailable buildPackages) then @@ -51,10 +51,12 @@ buildNodejs { ./node-npm-build-npm-package-logic.patch ./use-correct-env-in-tests.patch ./bin-sh-node-run-v22.patch - # fix test failure on macos 15.4 + + # Can be removed after https://github.com/NixOS/nixpkgs/pull/403958. (fetchpatch2 { - url = "https://github.com/nodejs/node/commit/33f6e1ea296cd20366ab94e666b03899a081af94.patch?full_index=1"; - hash = "sha256-aVBMcQlhQeviUQpMIfC988jjDB2BgYzlMYsq+w16mzU="; + url = "https://github.com/nodejs/node/commit/9aa57bf8dab2dbfb8b6974fe71d5dbe6daf66244.patch?full_index=1"; + hash = "sha256-k3h8mPgvaIYGAkGmaL+ix7kUnyLw4/PF7wXMAWrPMXo="; + revert = true; }) ]; }