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:
Ivan Babrou 2021-02-09 23:31:04 -08:00 committed by Andrew Childs
parent 68733c16f5
commit f9e6eb090e

View File

@ -11249,7 +11249,7 @@ in
# This returns the minimum suported version for the platform. The # This returns the minimum suported version for the platform. The
# assumption is that or any later version is good. # assumption is that or any later version is good.
choose = platform: 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.isFreeBSD then 7
else if platform.isAndroid then 12 else if platform.isAndroid then 12
else if platform.isLinux then 7 else if platform.isLinux then 7