From 8edc67c468afbe9281a13fefa0d409a6cdd66362 Mon Sep 17 00:00:00 2001 From: "(cdep)illabout" Date: Thu, 9 Aug 2018 11:54:17 +0900 Subject: [PATCH] vte: Add gtk3 as propagatedBuildInput The `Vte.2.91.gir` imports `Gtk.3.0.gir`. So in order to use `Vte.2.91.gir`, you must also have `Gtk.3.0.gir` on the GI_TYPELIB_PATH. Adding gtk3 to the `propagatedBuildInputs` of vte accomplishes this. --- pkgs/desktops/gnome-3/core/vte/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/desktops/gnome-3/core/vte/default.nix b/pkgs/desktops/gnome-3/core/vte/default.nix index 17385ab7202..f3ac7539a81 100644 --- a/pkgs/desktops/gnome-3/core/vte/default.nix +++ b/pkgs/desktops/gnome-3/core/vte/default.nix @@ -19,7 +19,12 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ gobjectIntrospection intltool pkgconfig vala gperf libxml2 ]; buildInputs = [ gnome3.glib gnome3.gtk3 ncurses ]; - propagatedBuildInputs = [ gnutls pcre2 ]; + propagatedBuildInputs = [ + # Needed because Vte-2.91.gir depends on Gtk-3.0.gir + gnome3.gtk3 + gnutls + pcre2 + ]; preConfigure = "patchShebangs .";