qt54.qtbase: don't propagate cups dependency

It is not necessary to propagate the cups buildInput if Qt is configured
with cups enabled.
This commit is contained in:
Thomas Tuegel 2016-01-23 09:30:57 -06:00
parent 66d76f8b5b
commit c1f0f62a9c
1 changed files with 2 additions and 2 deletions

View File

@ -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 (cups != null) cups
++ lib.optional (mysql != null) mysql.lib
++ lib.optional (postgresql != null) postgresql
++ lib.optionals gtkStyle [gnome_vfs libgnomeui gtk GConf];
buildInputs =
[ bison flex gperf ruby ]
++ lib.optional developerBuild gdb;
++ lib.optional developerBuild gdb
++ lib.optional (cups != null) cups;
nativeBuildInputs = [ python perl pkgconfig ];