qt54.qtbase: don't propagate postgresql dependency
It is not necessary to propagate the postgresql buildInput if Qt is configured with PostgreSQL enabled.
This commit is contained in:
parent
5fb4e3b338
commit
b0753cec2a
@ -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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user