git.iko.soy/typeable/nixpkgs
on master help sign in
libappindicator: propagate dependencies
commitef4b73a0386a088ac77e1c3e0d0db2d6d770dd50 authorNikolay Amiantov <ab@fmap.me> dateMon 3 Apr 2017, 17:25 (10 years ago) parentbd0163f
1 file changed+7−2
pkgs/development/libraries/libappindicator/default.nix+7−2
pkgs/development/libraries/libappindicator/default.nix+7−2
@@ -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 \