From 27b1f13752a97fe206ee5b3d93366d41a7f3636d Mon Sep 17 00:00:00 2001 From: "Node.js GitHub Bot" Date: Sun, 4 Oct 2026 01:30:28 +0000 Subject: [PATCH 1/3] tools: update nixpkgs-unstable pins - unstable to 73e728ddb6b7a12d18808f510813a13ee1fe4cce - 26.05 to e49322d1ec25b45f7c587c5fd69ac826d1a57dbc --- tools/nix/openssl-matrix.nix | 1 - tools/nix/pkgs-26.05.nix | 4 ++-- tools/nix/pkgs.nix | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tools/nix/openssl-matrix.nix b/tools/nix/openssl-matrix.nix index 66cfb129c432..6e86f3c51050 100644 --- a/tools/nix/openssl-matrix.nix +++ b/tools/nix/openssl-matrix.nix @@ -11,7 +11,6 @@ # Other OpenSSL variants we want to test for: inherit (pkgs) boringssl - openssl_3 openssl_3_6 openssl_4_0 ; diff --git a/tools/nix/pkgs-26.05.nix b/tools/nix/pkgs-26.05.nix index ab44b34e7258..422bf57ae40e 100644 --- a/tools/nix/pkgs-26.05.nix +++ b/tools/nix/pkgs-26.05.nix @@ -1,10 +1,10 @@ arg: let repo = "https://github.com/NixOS/nixpkgs"; - rev = "3fd11995d77cf6907257617f99da7dc8123a3cc9"; + rev = "e49322d1ec25b45f7c587c5fd69ac826d1a57dbc"; nixpkgs = import (builtins.fetchTarball { url = "${repo}/archive/${rev}.tar.gz"; - sha256 = "1rkhimimbfygpdh5xf7irh1ncryaymkbfzv2pxjcm3b4vsyzklhj"; + sha256 = "09c75qhjxdg8ls8fi89vl1fknhmszcan5jnrni5cr6zlv911x7pg"; }) arg; in # Unstable channel no longer supports Intel architecture for macOS. We can use the 26.05 channel diff --git a/tools/nix/pkgs.nix b/tools/nix/pkgs.nix index 877bd3d00d91..89dba2ed3c1c 100644 --- a/tools/nix/pkgs.nix +++ b/tools/nix/pkgs.nix @@ -1,10 +1,10 @@ arg: let repo = "https://github.com/NixOS/nixpkgs"; - rev = "79b35bf0bda5cd110f856aa5b5b2c5ba4460dbf5"; + rev = "73e728ddb6b7a12d18808f510813a13ee1fe4cce"; nixpkgs = import (builtins.fetchTarball { url = "${repo}/archive/${rev}.tar.gz"; - sha256 = "1zqqiyjznlg8sb6zx7f218vz8cd68dxxxss8h768q515isk2dr08"; + sha256 = "1n8kqbnh8axhk5g6j4qdinh4ya34ax9cc9yrj8zila0dqwjq38sp"; }) arg; in # Unstable channel no longer supports Intel architecture for macOS. We can use the 26.05 channel From 783d2fdf4bb89a143815dcee7c02fab33200ff67 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Sun, 4 Oct 2026 23:03:32 +0200 Subject: [PATCH 2/3] squash! fix aarch64-linux V8 build --- tools/nix/v8.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/nix/v8.nix b/tools/nix/v8.nix index 8b9f1796e068..48c097134ea6 100644 --- a/tools/nix/v8.nix +++ b/tools/nix/v8.nix @@ -130,6 +130,12 @@ stdenv.mkDerivation (finalAttrs: { fi done '' + # TODO: remove that custom patch in favor of https://chromium-review.googlesource.com/c/v8/v8/+/8500805 + + (lib.optionalString (with stdenv.hostPlatform; isLinux && isArm64) '' + substituteInPlace deps/v8/src/base/memcopy.h --replace-fail '#define V8_BASE_MEMCOPY_H_' "$( + printf '%s\n\n%s\n' '#define V8_BASE_MEMCOPY_H_' '#include ' + )" + '') # We also need to mock some Python util files that are not used to configure Python. # Mocking lets us avoid rebuilding the whole derivation if there's a unrelated # change in one of those files. From a3f69f0b0b67222ce75c7a6ae29fc3becd359685 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Mon, 5 Oct 2026 14:42:23 +0200 Subject: [PATCH 3/3] fixup! squash! fix aarch64-linux V8 build --- tools/nix/v8.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/nix/v8.nix b/tools/nix/v8.nix index 48c097134ea6..8a9c672821a3 100644 --- a/tools/nix/v8.nix +++ b/tools/nix/v8.nix @@ -131,7 +131,7 @@ stdenv.mkDerivation (finalAttrs: { done '' # TODO: remove that custom patch in favor of https://chromium-review.googlesource.com/c/v8/v8/+/8500805 - + (lib.optionalString (with stdenv.hostPlatform; isLinux && isArm64) '' + + (lib.optionalString (with stdenv.hostPlatform; isLinux && isAarch) '' substituteInPlace deps/v8/src/base/memcopy.h --replace-fail '#define V8_BASE_MEMCOPY_H_' "$( printf '%s\n\n%s\n' '#define V8_BASE_MEMCOPY_H_' '#include ' )"