stdenv/darwin: fix SDK overlays for macOS SDK < 11 (#354286)
This commit is contained in:
@@ -1273,7 +1273,8 @@ assert bootstrapTools.passthru.isFromBootstrapFiles or false; # sanity check
|
||||
patch
|
||||
;
|
||||
|
||||
"apple-sdk_${sdkMajorVersion}" = self.apple-sdk;
|
||||
# TODO: Simplify when dropping support for macOS < 11.
|
||||
"apple-sdk_${builtins.replaceStrings [ "." ] [ "_" ] sdkMajorVersion}" = self.apple-sdk;
|
||||
|
||||
darwin = super.darwin.overrideScope (
|
||||
_: _:
|
||||
|
||||
Reference in New Issue
Block a user