Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Including apple_sdk.sdk is generally a recipe for a bad time on LLVM 3.8 and above, since you end up with bad headers in the wrong place that hurt the new libc++ in 3.8 and above. In this case, qt only wanted the super- generic SDK for CUPS headers, which we can just depend on directly now.
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,7 +82,7 @@ stdenv.mkDerivation { | |
sed -i \ | ||
-e 's|! /usr/bin/xcode-select --print-path >/dev/null 2>&1;|false;|' \ | ||
-e 's|! /usr/bin/xcrun -find xcodebuild >/dev/null 2>&1;|false;|' \ | ||
-e 's|sysroot=$(/usr/bin/xcodebuild -sdk $sdk -version Path 2>/dev/null)|sysroot="${darwin.apple_sdk.sdk}"|' \ | ||
-e 's|sysroot=$(/usr/bin/xcodebuild -sdk $sdk -version Path 2>/dev/null)|sysroot=/nonsense|' \ | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
copumpkin
Author
Member
|
||
-e 's|QMAKE_CONF_COMPILER=`getXQMakeConf QMAKE_CXX`|QMAKE_CXX="clang++"\nQMAKE_CONF_COMPILER="clang++"|' \ | ||
-e 's|XCRUN=`/usr/bin/xcrun -sdk macosx clang -v 2>&1`|XCRUN="clang -v 2>&1"|' \ | ||
-e 's#sdk_val=$(/usr/bin/xcrun -sdk $sdk -find $(echo $val | cut -d \x27 \x27 -f 1))##' \ | ||
|
@@ -212,7 +212,7 @@ stdenv.mkDerivation { | |
xcbutilimage xcbutilkeysyms xcbutilrenderutil xcbutilwm | ||
] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ | ||
ApplicationServices Foundation CoreServices AppKit Carbon OpenGL AGL Cocoa | ||
DiskArbitration darwin.cf-private libiconv darwin.apple_sdk.sdk | ||
DiskArbitration darwin.cf-private libiconv | ||
]); | ||
|
||
buildInputs = [ ] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This produces
clang-3.7: warning: no such sysroot directory: '/nonsense'