qt54.qtbase: don't propagate mysql dependency

It is not necessary to propagate the mysql buildInput if Qt is configure
with MySQL enabled.
This commit is contained in:
Thomas Tuegel 2016-01-23 09:32:11 -06:00
parent c1f0f62a9c
commit 5fb4e3b338

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 (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 (cups != null) cups;
++ lib.optional (cups != null) cups
++ lib.optional (mysql != null) mysql.lib;
nativeBuildInputs = [ python perl pkgconfig ];