@@ -27,12 +27,17 @@ in stdenv.mkDerivation rec {
2727
2828 nativeBuildInputs = [ pkgconfig autoconf ];
2929
30+ propagatedBuildInputs =
31+ if gtkVersion == "2"
32+ then [ gtk2 libdbusmenu-gtk2 ]
33+ else [ gtk3 libdbusmenu-gtk3 ];
34+
3035 buildInputs = [
3136 glib dbus_glib
3237 python pygobject2 pygtk gobjectIntrospection vala_0_23
3338 ] ++ (if gtkVersion == "2"
34− then [ gtk2 libindicator-gtk2 libdbusmenu-gtk2 ] ++ optionals monoSupport [ mono gtk-sharp-2_0 ]
35− else [ gtk3 libindicator-gtk3 libdbusmenu-gtk3 ]);
39+ then [ libindicator-gtk2 ] ++ optionals monoSupport [ mono gtk-sharp-2_0 ]
40+ else [ libindicator-gtk3 ]);
3641
3742 postPatch = ''
3843 substituteInPlace configure.ac \