summary refs log tree commit diff
path: root/pkgs/development/libraries/qt-5/5.6
diff options
context:
space:
mode:
authorDan Peebles <pumpkin@me.com>2017-04-06 21:00:28 -0400
committerDan Peebles <pumpkin@me.com>2017-04-06 21:00:28 -0400
commit6b1957d17ae687f7db09db63667fa6f2cc40990b (patch)
treeec42fffca5fc99f151fc30f7ef61c4de79c4861f /pkgs/development/libraries/qt-5/5.6
parentaa31d4b803c50d727b24bfd5a24176f067490f9a (diff)
downloadnixpkgs-6b1957d17ae687f7db09db63667fa6f2cc40990b.tar
nixpkgs-6b1957d17ae687f7db09db63667fa6f2cc40990b.tar.gz
nixpkgs-6b1957d17ae687f7db09db63667fa6f2cc40990b.tar.bz2
nixpkgs-6b1957d17ae687f7db09db63667fa6f2cc40990b.tar.lz
nixpkgs-6b1957d17ae687f7db09db63667fa6f2cc40990b.tar.xz
nixpkgs-6b1957d17ae687f7db09db63667fa6f2cc40990b.tar.zst
nixpkgs-6b1957d17ae687f7db09db63667fa6f2cc40990b.zip
qt5: fix to work on LLVM 4
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.
Diffstat (limited to 'pkgs/development/libraries/qt-5/5.6')
-rw-r--r--pkgs/development/libraries/qt-5/5.6/qtbase/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/qt-5/5.6/qtbase/default.nix b/pkgs/development/libraries/qt-5/5.6/qtbase/default.nix
index dae1139d961..b26fc7faf9d 100644
--- a/pkgs/development/libraries/qt-5/5.6/qtbase/default.nix
+++ b/pkgs/development/libraries/qt-5/5.6/qtbase/default.nix
@@ -80,7 +80,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|' \
           -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))##' \
@@ -208,7 +208,7 @@ stdenv.mkDerivation {
     xcbutil xcbutilimage xcbutilkeysyms xcbutilwm libxkbcommon
   ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
     ApplicationServices CoreServices AppKit Carbon OpenGL AGL Cocoa
-    DiskArbitration darwin.cf-private libiconv darwin.apple_sdk.sdk
+    DiskArbitration darwin.cf-private libiconv
   ]);
 
   buildInputs =