summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Childs <lorne@cons.org.nz>2021-02-15 15:45:37 +0900
committerAndrew Childs <lorne@cons.org.nz>2021-05-17 00:27:03 +0900
commit755d980440a9aefba6a0aebfc367621acd892cf6 (patch)
tree48f1f6036e873979e6e216e2f8d1384607aa9ef8 /lib
parent79e34294bd678f615bf4a3511c0d875891fc8b0b (diff)
downloadnixpkgs-755d980440a9aefba6a0aebfc367621acd892cf6.tar
nixpkgs-755d980440a9aefba6a0aebfc367621acd892cf6.tar.gz
nixpkgs-755d980440a9aefba6a0aebfc367621acd892cf6.tar.bz2
nixpkgs-755d980440a9aefba6a0aebfc367621acd892cf6.tar.lz
nixpkgs-755d980440a9aefba6a0aebfc367621acd892cf6.tar.xz
nixpkgs-755d980440a9aefba6a0aebfc367621acd892cf6.tar.zst
nixpkgs-755d980440a9aefba6a0aebfc367621acd892cf6.zip
darwin: use "11.0" as sdk and minimum version on aarch64-darwin
Diffstat (limited to 'lib')
-rw-r--r--lib/systems/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/systems/default.nix b/lib/systems/default.nix
index 549f01b058f..70ec98b03c1 100644
--- a/lib/systems/default.nix
+++ b/lib/systems/default.nix
@@ -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"