stdenv/darwin: fix SDK overlays for macOS SDK < 11 (#354286)

This commit is contained in:
Emily
2024-11-07 18:05:57 +00:00
committed by GitHub
+2 -1
View File
@@ -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 (
_: _: