Merge pull request #30299 from copumpkin/xcbuild-sdk

xcbuild: add SDKROOT by default to the wrappers
This commit is contained in:
Daniel Peebles 2017-10-10 20:29:07 -04:00 committed by GitHub
commit 71e0dbdf0c

View File

@ -58,11 +58,14 @@ stdenv.mkDerivation {
wrapProgram $out/bin/xcodebuild \
--add-flags "-xcconfig ${xcconfig}" \
--add-flags "DERIVED_DATA_DIR=." \
--set DEVELOPER_DIR "$out"
--set DEVELOPER_DIR "$out" \
--set SDKROOT ${sdkName}
wrapProgram $out/bin/xcrun \
--set DEVELOPER_DIR "$out"
--set DEVELOPER_DIR "$out" \
--set SDKROOT ${sdkName}
wrapProgram $out/bin/xcode-select \
--set DEVELOPER_DIR "$out"
--set DEVELOPER_DIR "$out" \
--set SDKROOT ${sdkName}
'';
inherit (xcbuild) meta;