Revert "xcbuild: try to fix sdk not found"

This reverts commit 87e6b2c50f.
This commit is contained in:
Matthew Bauer 2017-04-12 05:20:33 -05:00
parent 1781ec934f
commit 3d1d805245
No known key found for this signature in database
GPG Key ID: E04D0AD9469141C3
2 changed files with 1 additions and 5 deletions

View File

@ -228,6 +228,6 @@ stdenv.mkDerivation {
mkdir -p $out/Developer/SDKs/
cd $out/Developer/SDKs/
ln -s ${sdk} macosx10.10.sdk
ln -s ${sdk}
'';
}

View File

@ -60,13 +60,9 @@ stdenv.mkDerivation {
--add-flags "DERIVED_DATA_DIR=." \
--set DEVELOPER_DIR "$out"
wrapProgram $out/bin/xcrun \
--add-flags "-sdk macosx10.10" \
--set DEVELOPER_DIR "$out"
wrapProgram $out/bin/xcode-select \
--set DEVELOPER_DIR "$out"
mkdir -p $out/usr/bin/
ln -s $out/bin/xcrun $out/usr/bin/xcrun
'';
inherit (xcbuild) meta;