Merge pull request #30299 from copumpkin/xcbuild-sdk
xcbuild: add SDKROOT by default to the wrappers
This commit is contained in:
commit
71e0dbdf0c
@ -58,11 +58,14 @@ stdenv.mkDerivation {
|
|||||||
wrapProgram $out/bin/xcodebuild \
|
wrapProgram $out/bin/xcodebuild \
|
||||||
--add-flags "-xcconfig ${xcconfig}" \
|
--add-flags "-xcconfig ${xcconfig}" \
|
||||||
--add-flags "DERIVED_DATA_DIR=." \
|
--add-flags "DERIVED_DATA_DIR=." \
|
||||||
--set DEVELOPER_DIR "$out"
|
--set DEVELOPER_DIR "$out" \
|
||||||
|
--set SDKROOT ${sdkName}
|
||||||
wrapProgram $out/bin/xcrun \
|
wrapProgram $out/bin/xcrun \
|
||||||
--set DEVELOPER_DIR "$out"
|
--set DEVELOPER_DIR "$out" \
|
||||||
|
--set SDKROOT ${sdkName}
|
||||||
wrapProgram $out/bin/xcode-select \
|
wrapProgram $out/bin/xcode-select \
|
||||||
--set DEVELOPER_DIR "$out"
|
--set DEVELOPER_DIR "$out" \
|
||||||
|
--set SDKROOT ${sdkName}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
inherit (xcbuild) meta;
|
inherit (xcbuild) meta;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user