mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-29 00:20:19 +02:00
llvmPackages: default to llvmPackages_11 on aarch64-darwin
It doesn't make sense to use llvm7, which doesn't work on arm64.
This commit is contained in:
parent
68733c16f5
commit
f9e6eb090e
|
@ -11249,7 +11249,7 @@ in
|
|||
# This returns the minimum suported version for the platform. The
|
||||
# assumption is that or any later version is good.
|
||||
choose = platform:
|
||||
/**/ if platform.isDarwin then 7
|
||||
/**/ if platform.isDarwin then (if platform.isAarch64 then 11 else 7)
|
||||
else if platform.isFreeBSD then 7
|
||||
else if platform.isAndroid then 12
|
||||
else if platform.isLinux then 7
|
||||
|
|
Loading…
Reference in a new issue