nodejs_24: fix test (#420937)

Yt aa430a4c c7a1d6d6

Changed files
+7
pkgs
development
web
nodejs
+7
pkgs/development/web/nodejs/v24.nix
···
./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=";
+
})
]
++ lib.optionals (!stdenv.buildPlatform.isDarwin) [
# test-icu-env is failing without the reverts