Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: elmPackages.nodejs 0 -> 1 attrpath: elmPackages.nodejs Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] these 3 derivations will be built: /nix/store/jxbfclw1ad0j45nva1zlx49950sy1wk2-pubring.kbx.drv /nix/store/nkaq19iqjaah271r2v1ijhdp44fi3x31-update-nodejs.drv /nix/store/5jw9xhmpiqd3z4chdqqv0sabjhz53kbf-packages.json.drv building '/nix/store/jxbfclw1ad0j45nva1zlx49950sy1wk2-pubring.kbx.drv'... structuredAttrs is enabled trying https://github.com/nodejs/release-keys/raw/7b6eb2d6ab524bb30487f31612cdbeb35ae37533/gpg-only-active-keys/pubring.kbx % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 0 100 23651 100 23651 0 0 55236 0 0 building '/nix/store/nkaq19iqjaah271r2v1ijhdp44fi3x31-update-nodejs.drv'... building '/nix/store/5jw9xhmpiqd3z4chdqqv0sabjhz53kbf-packages.json.drv'... Going to be running update for following packages: - nodejs-24.15.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - nodejs-24.15.0: UPDATING ... - nodejs-24.15.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/web/nodejs/v24.nix b/pkgs/development/web/nodejs/v24.nix index 69004825bea2..c80ccdd9d985 100644 --- a/pkgs/development/web/nodejs/v24.nix +++ b/pkgs/development/web/nodejs/v24.nix @@ -23,8 +23,8 @@ let [ ]; in buildNodejs { - version = "24.15.0"; - sha256 = "a4f653d79ed140aaad921e8c22a3b585ca85cfdab80d4030f6309e4663a8a1c8"; + version = "24.17.0"; + sha256 = "a7ab562ed2369a29c68b72fa00e3103bcdfe37063dff799c6acc8e404e275fcd"; patches = ( if (stdenv.hostPlatform.emulatorAvailable buildPackages) then No auto update branch exists Old version 24.15.0" not present in staging derivation file with contents: { lib, stdenv, buildPackages, callPackage, fetchpatch2, openssl, python3, }: let buildNodejs = callPackage ./nodejs.nix { inherit openssl; python = python3; }; gypPatches = if stdenv.buildPlatform.isDarwin then [ ./gyp-patches-set-fallback-value-for-CLT-darwin.patch ] else [ ]; in buildNodejs { version = "24.16.0"; sha256 = "2ff84a6de70b6165290111b0fc656ded1ad207a799816fe720cc7c31232df30f"; patches = ( if (stdenv.hostPlatform.emulatorAvailable buildPackages) then [ ./configure-emulator.patch ] else [ (fetchpatch2 { url = "https://raw.githubusercontent.com/buildroot/buildroot/2f0c31bffdb59fb224387e35134a6d5e09a81d57/package/nodejs/nodejs-src/0003-include-obj-name-in-shared-intermediate.patch"; hash = "sha256-3g4aS+NmmUYNOYRNc6UMJKYoaTlpP5Knt9UHegx+o0Y="; }) ] ) ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform && stdenv.hostPlatform.isFreeBSD) [ # This patch is concerning. # https://github.com/nodejs/node/issues/54576 # It is only supposed to affect clang >= 17, but I'm seeing it on clang 19. # I'm keeping the predicate for this patch pretty strict out of caution, # so if you see the error it's supposed to prevent, feel free to loosen it. (fetchpatch2 { url = "https://raw.githubusercontent.com/rubyjs/libv8-node/62476a398d4c9c1a670240a3b070d69544be3761/patch/v8-no-assert-trivially-copyable.patch"; hash = "sha256-hSTLljmVzYmc3WAVeRq9EPYluXGXFeWVXkykufGQPVw="; }) ] ++ [ ./configure-armv6-vfpv2.patch ./node-npm-build-npm-package-logic.patch ./use-correct-env-in-tests.patch ./bin-sh-node-run-v22.patch ./use-nix-codesign.patch # Patch for nghttp2 1.69 support (fetchpatch2 { url = "https://github.com/nodejs/node/commit/4a32c00fb8dbe55c3bcf9ef43343968c9fe449e6.diff?full_index=1"; hash = "sha256-pex8ruwa4b/vWvfGA+nyN3JJP8NOturmwAQe4Rkd6nU="; excludes = [ "tools/nix/*" ]; }) ] ++ gypPatches ++ lib.optionals (!stdenv.buildPlatform.isDarwin) [ # test-icu-env is failing without the reverts (fetchpatch2 { url = "https://github.com/nodejs/node/commit/869d0cbca3b0b5e594b3254869a34d549664e089.patch?full_index=1"; hash = "sha256-BBBShQwU20TSY8GtPehQ9i3AH4ZKUGIr8O0bRsgrpNo="; revert = true; }) ] ++ lib.optionals stdenv.hostPlatform.is32bit [ # see: https://github.com/nodejs/node/issues/58458 ./v24-32bit.patch ]; }