darwin cross: include CoreFoundation in stdenv

This commit is contained in:
Andrew Childs
2021-05-17 00:27:01 +09:00
parent 9e05276949
commit a7bcb6b936
2 changed files with 15 additions and 2 deletions
+3 -1
View File
@@ -48,7 +48,9 @@ in lib.init bootStages ++ [
# Prior overrides are surely not valid as packages built with this run on
# a different platform, and so are disabled.
overrides = _: _: {};
extraBuildInputs = [ ]; # Old ones run on wrong platform
extraBuildInputs = [ ] # Old ones run on wrong platform
++ lib.optionals hostPlatform.isDarwin [ buildPackages.targetPackages.darwin.apple_sdk.frameworks.CoreFoundation ]
;
allowedRequisites = null;
hasCC = !targetPlatform.isGhcjs;