From b4ba042924ca1ac14ac694c12d182f29efdc3aa9 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Sat, 18 Feb 2017 14:59:45 -0600 Subject: [PATCH] qt4: Don't pass top-level attribute through kde4 --- pkgs/applications/audio/jackmix/default.nix | 10 +++++----- pkgs/applications/science/robotics/gazebo/default.nix | 4 ++-- pkgs/desktops/kde-4.14/default.nix | 2 -- pkgs/top-level/all-packages.nix | 2 +- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/audio/jackmix/default.nix b/pkgs/applications/audio/jackmix/default.nix index 8176a3404702..e9e3fd53e546 100644 --- a/pkgs/applications/audio/jackmix/default.nix +++ b/pkgs/applications/audio/jackmix/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgs, jack ? pkgs.libjack2 }: +{ stdenv, fetchurl, pkgconfig, scons, qt4, lash, libjack2, jack ? libjack2 }: stdenv.mkDerivation rec { name = "jackmix-0.5.2"; @@ -8,10 +8,10 @@ stdenv.mkDerivation rec { }; buildInputs = [ - pkgs.pkgconfig - pkgs.scons - pkgs.kde4.qt4 - pkgs.lash + pkgconfig + scons + qt4 + lash jack ]; diff --git a/pkgs/applications/science/robotics/gazebo/default.nix b/pkgs/applications/science/robotics/gazebo/default.nix index e8b3bcb16a26..6cefb156d1df 100644 --- a/pkgs/applications/science/robotics/gazebo/default.nix +++ b/pkgs/applications/science/robotics/gazebo/default.nix @@ -5,7 +5,7 @@ , pythonPackages, utillinux # these deps are hidden; cmake doesn't catch them - , gazeboSimulator, sdformat ? gazeboSimulator.sdformat, curl, tinyxml, kde4, x11 + , gazeboSimulator, sdformat ? gazeboSimulator.sdformat, curl, tinyxml, qt4, x11 , withIgnitionTransport ? true , libav, withLibAvSupport ? true , openal, withAudioSupport ? false @@ -57,7 +57,7 @@ stdenv.mkDerivation rec { curl tinyxml x11 - kde4.qt4 + qt4 ] ++ optional stdenv.isLinux utillinux # on Linux needs uuid/uuid.h ++ optional withDocs doxygen ++ optional withLibAvSupport libav #TODO: package rubygem-ronn and put it here diff --git a/pkgs/desktops/kde-4.14/default.nix b/pkgs/desktops/kde-4.14/default.nix index d65f38b8cd11..9c730ef39cf7 100644 --- a/pkgs/desktops/kde-4.14/default.nix +++ b/pkgs/desktops/kde-4.14/default.nix @@ -29,8 +29,6 @@ kde.modules // kde.individual // akonadi = callPackage ./support/akonadi { }; - qt4 = qt48; - inherit release; l10n = callPackage ./l10n { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 99b4176596b0..6c4221a51509 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9242,7 +9242,7 @@ with pkgs; libpng = libpng12; }; - qt4 = pkgs.kde4.qt4; + qt4 = qt48; qt48 = callPackage ../development/libraries/qt-4.x/4.8 { # GNOME dependencies are not used unless gtkStyle == true