darwin.copyfile: use a bootstrap SDK

This is required to avoid an infinite recursion via `darwin.libutil`
on `x86_64-darwin`.
This commit is contained in:
Emily 2024-11-07 07:26:53 +00:00
parent b25a5d5ba7
commit 2a61b919d2

View File

@ -91,7 +91,7 @@ mkAppleDerivation {
env.NIX_CFLAGS_COMPILE = "-I${privateHeaders}/include";
buildInputs = lib.optionals (lib.versionOlder (lib.getVersion apple-sdk) "10.13") [
apple-sdk_10_13
(apple-sdk_10_13.override { enableBootstrap = true; })
];
meta.description = "Darwin file copying library";