From 8edc67c468afbe9281a13fefa0d409a6cdd66362 Mon Sep 17 00:00:00 2001 From: "(cdep)illabout" Date: Thu, 9 Aug 2018 11:54:17 +0900 Subject: [PATCH 1/2] 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 ."; From 05c0c3f05c8b784c0d09aeba22761cb4bd560349 Mon Sep 17 00:00:00 2001 From: "(cdep)illabout" Date: Thu, 9 Aug 2018 22:44:20 +0900 Subject: [PATCH 2/2] vte: Change comment to talk about vte-2.91.pc file instead of .gir file. --- pkgs/desktops/gnome-3/core/vte/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/desktops/gnome-3/core/vte/default.nix b/pkgs/desktops/gnome-3/core/vte/default.nix index f3ac7539a81..47a2c2f19d3 100644 --- a/pkgs/desktops/gnome-3/core/vte/default.nix +++ b/pkgs/desktops/gnome-3/core/vte/default.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { buildInputs = [ gnome3.glib gnome3.gtk3 ncurses ]; propagatedBuildInputs = [ - # Needed because Vte-2.91.gir depends on Gtk-3.0.gir + # Required by vte-2.91.pc. gnome3.gtk3 gnutls pcre2