Skip to content

Commit

Permalink
swift: source darwin-sdk-setup.bash
Browse files Browse the repository at this point in the history
Fixes builds using xcbuild that redefine SDKROOT in the xcbuild wrapper.
SDKROOT will be set using the same logic that other wrappers use.

(cherry picked from commit c578c48)
  • Loading branch information
reckenrode authored and github-actions[bot] committed Dec 28, 2024
1 parent 9f94733 commit 0d30c0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/compilers/swift/wrapper/wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ cc_wrapper="${NIX_CC:-@default_cc_wrapper@}"

source $cc_wrapper/nix-support/utils.bash

source $cc_wrapper/nix-support/darwin-sdk-setup.bash

expandResponseParams "$@"

# Check if we should wrap this Swift invocation at all, and how. Specifically,
Expand Down

0 comments on commit 0d30c0a

Please sign in to comment.