nodejs_24: limit pinning of LLVM to darwin (#536336)

This commit is contained in:
Antoine du Hamel
2026-06-28 15:30:24 +00:00
committed by GitHub

View File

@@ -9,11 +9,15 @@
}:
let
buildNodejs = callPackage ./nodejs.nix {
inherit openssl;
python = python3;
stdenv = buildPackages.llvmPackages_20.libcxxStdenv;
};
buildNodejs =
callPackage ./nodejs.nix {
inherit openssl;
python = python3;
}
// lib.optionalAttrs stdenv.hostPlatform.isDarwin {
# libcxx21 makes FD tracking unreliable on Darwin. Pinning to libcxx20:
stdenv = buildPackages.llvmPackages_20.libcxxStdenv;
};
gypPatches =
if stdenv.buildPlatform.isDarwin then