about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-05-14 20:49:07 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-05-14 20:49:07 +0200
commit7886fce91920d46bc8d12ec4ca3540b9da22633a (patch)
treedfd028dc802fd1789c21f2e7fcedc7ee8fbb2b7e /pkgs
parent6eb4a696894af42411dd0bf1a4b7540cdc70b69c (diff)
pkgs/tomahawk: Fix build by pinning to Qt 5.5
Right now we haven't packaged QtWebEngine for Qt 5.6, so we can't easily
switch towards using the qt5 attribute, which is Qt 5.6 already.

So we need to make sure that attica, extra-cmake-modules and qca are
using qt55 explicitly as well so we don't have any reference to Qt 5.6
anymore left (checked using nix-store -qR on the .drv).

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tomahawk/default.nix17
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/tomahawk/default.nix b/pkgs/tomahawk/default.nix
index c36c0212..39178d2c 100644
--- a/pkgs/tomahawk/default.nix
+++ b/pkgs/tomahawk/default.nix
@@ -1,5 +1,5 @@
-{ stdenv, fetchFromGitHub, fetchurl, cmake, pkgconfig, attica, boost, gnutls
-, libechonest, liblastfm, lucenepp, vlc_qt5, qca-qt5, qt5, qtkeychain
+{ stdenv, fetchFromGitHub, fetchurl, cmake, pkgconfig, boost, gnutls
+, libechonest, liblastfm, lucenepp, qca-qt5, qt5, qtkeychain
 , kde5, sparsehash, taglib, websocketpp, makeWrapper, ffmpeg_2, v4l_utils
 
 , enableXMPP      ? true,  libjreen     ? null
@@ -46,12 +46,16 @@ let
     ];
   });
 
-  vlc = vlc_qt5.override {
+  vlc = qt5.vlc.override {
     ffmpeg = ffmpeg_2.override {
       v4l_utils = v4l_utils.override { withQt4 = false; };
     };
   };
 
+  attica = kde5.attica.override { extra-cmake-modules = ecm; };
+  ecm = kde5.extra-cmake-modules.override { inherit (qt5) qttools; };
+  qca = qca-qt5.override { inherit (qt5) qtbase; };
+
 in stdenv.mkDerivation rec {
   name = "tomahawk-${version}";
   version = "0.9.0-git";
@@ -69,10 +73,9 @@ in stdenv.mkDerivation rec {
   ];
 
   buildInputs = (map useQT5 [ liblastfm qt5.quazip ]) ++ [
-    qca-qt5 qtkeychainQT5 libechonestQT5 kde5.attica cmake pkgconfig
-    kde5.extra-cmake-modules boost gnutls lucenepp vlc qt5.qtbase
-    qt5.qtsvg qt5.qttools qt5.qtwebkit qt5.qtx11extras sparsehash taglib
-    websocketpp makeWrapper
+    qca qtkeychainQT5 libechonestQT5 attica cmake pkgconfig ecm boost gnutls
+    lucenepp vlc qt5.qtbase qt5.qtsvg qt5.qttools qt5.qtwebkit qt5.qtx11extras
+    sparsehash taglib websocketpp makeWrapper
   ] ++ stdenv.lib.optional enableXMPP      (useQT5 libjreen)
     ++ stdenv.lib.optional enableKDE       (useQT5 kdelibs)
     ++ stdenv.lib.optional enableTelepathy (useQT5 telepathy_qt);