mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
swift: source darwin-sdk-setup.bash
Fixes builds using xcbuild that redefine SDKROOT in the xcbuild wrapper. SDKROOT will be set using the same logic that other wrappers use.
This commit is contained in:
parent
2d9cb77fbc
commit
c578c48b7f
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue