darwin: use "11.0" as sdk and minimum version on aarch64-darwin

This commit is contained in:
Andrew Childs 2021-02-15 15:45:37 +09:00
parent 79e34294bd
commit 755d980440

View File

@ -131,7 +131,7 @@ rec {
else null;
# The canonical name for this attribute is darwinSdkVersion, but some
# platforms define the old name "sdkVer".
darwinSdkVersion = final.sdkVer or "10.12";
darwinSdkVersion = final.sdkVer or (if final.isAarch64 then "11.0" else "10.12");
darwinMinVersion = final.darwinSdkVersion;
darwinMinVersionVariable =
if final.isMacOS then "MACOSX_DEPLOYMENT_TARGET"