From b0753cec2a56e04a5bc834c1b10c41b0ccbc1cd7 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Sat, 23 Jan 2016 09:32:55 -0600 Subject: [PATCH] qt54.qtbase: don't propagate postgresql dependency It is not necessary to propagate the postgresql buildInput if Qt is configured with PostgreSQL enabled. --- pkgs/development/libraries/qt-5/5.4/qtbase/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/qt-5/5.4/qtbase/default.nix b/pkgs/development/libraries/qt-5/5.4/qtbase/default.nix index ab86f95ece9..4ec93242e1f 100644 --- a/pkgs/development/libraries/qt-5/5.4/qtbase/default.nix +++ b/pkgs/development/libraries/qt-5/5.4/qtbase/default.nix @@ -188,14 +188,14 @@ stdenv.mkDerivation { # Qt doesn't directly need GLU (just GL), but many apps use, it's small and # doesn't remain a runtime-dep if not used ++ lib.optionals mesaSupported [ mesa mesa_glu ] - ++ lib.optional (postgresql != null) postgresql ++ lib.optionals gtkStyle [gnome_vfs libgnomeui gtk GConf]; buildInputs = [ bison flex gperf ruby ] ++ lib.optional developerBuild gdb ++ lib.optional (cups != null) cups - ++ lib.optional (mysql != null) mysql.lib; + ++ lib.optional (mysql != null) mysql.lib + ++ lib.optional (postgresql != null) postgresql; nativeBuildInputs = [ python perl pkgconfig ];