mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 15:41:16 +00:00
nodejs_24: limit pinning of LLVM to darwin (#536336)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user