mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
qt54.qtbase: don't propagate gtk dependencies
It is not necessary to propagate the GTK dependencies if Qt is configured with the GTK Style enabled.
This commit is contained in:
parent
b0753cec2a
commit
a6fd9e9be6
|
@ -187,15 +187,15 @@ 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.optionals gtkStyle [gnome_vfs libgnomeui gtk GConf];
|
||||
++ lib.optionals mesaSupported [ mesa mesa_glu ];
|
||||
|
||||
buildInputs =
|
||||
[ bison flex gperf ruby ]
|
||||
++ lib.optional developerBuild gdb
|
||||
++ lib.optional (cups != null) cups
|
||||
++ lib.optional (mysql != null) mysql.lib
|
||||
++ lib.optional (postgresql != null) postgresql;
|
||||
++ lib.optional (postgresql != null) postgresql
|
||||
++ lib.optionals gtkStyle [gnome_vfs libgnomeui gtk GConf];
|
||||
|
||||
nativeBuildInputs = [ python perl pkgconfig ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue