Skip to content

Commit

Permalink
apple-sdk: only rewrite old SDK paths (#353383)
Browse files Browse the repository at this point in the history
  • Loading branch information
reckenrode authored Nov 4, 2024
2 parents 7bea7ca + e166c9b commit b15dd30
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkgs/by-name/ap/apple-sdk/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,13 @@ let
(callPackage ./common/propagate-inputs.nix { })
(callPackage ./common/propagate-xcrun.nix { })
]
++ [
# These have to happen last.
# Older SDKs do not include the libraries re-exported from umbrella frameworks in the umbrellas’ stubs, which causes
# link failures for those libraries unless their paths have been rewritten to point to the store.
++ lib.optionals (lib.versionOlder sdkVersion "11.0") [
(callPackage ./common/rewrite-sdk-paths.nix { inherit sdkVersion; })
]
# This has to happen last.
++ [
(callPackage ./common/run-build-phase-hooks.nix { })
]
);
Expand Down

0 comments on commit b15dd30

Please sign in to comment.