mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
stdenv/darwin: fix SDK overlays for macOS SDK < 11
Quite impressive that this worked up until now. Co-authored-by: Lily Foster <lily@lily.flowers>
This commit is contained in:
parent
b3a0f2d3f1
commit
ad625dd172
@ -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 (
|
||||
_: _:
|
||||
|
Loading…
Reference in New Issue
Block a user