Commit 6209c29dcfd for nodejs

commit 6209c29dcfd4c0de33e0beaa6c97402047790e80
Author: Antoine du Hamel <duhamelantoine1995@gmail.com>
Date:   Thu Oct 22 13:23:57 2026 +0200

    tools: disable error-on-warn on x64 macOS

    Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    PR-URL: https://github.com/nodejs/node/pull/66925
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Claudio Wunder <cwunder@gnome.org>

diff --git a/tools/nix/ci-shell.nix b/tools/nix/ci-shell.nix
index c46d0d68c02..65efc595a15 100644
--- a/tools/nix/ci-shell.nix
+++ b/tools/nix/ci-shell.nix
@@ -23,8 +23,7 @@ args@{
     )
     // {
       withSSL = true; # no-SSL coverage is ensured by Jenkins
-      extraConfigFlags = [
-        "--error-on-warn"
+      extraConfigFlags = pkgs.lib.optional pkgs.stdenv.hostPlatform.isAarch "--error-on-warn" ++ [
         "--without-inspector"
         "--without-node-options"
       ];