From 3d5c4053cacd9a04790bac495752e8fc92c01867 Mon Sep 17 00:00:00 2001 From: Matthew Van Gundy Date: Sun, 14 Mar 2021 11:24:12 -0700 Subject: [PATCH] Configure gnome2.gtksourceview to build with autoconf 2.69 `nix-build -A gnome2.gtksourceview` fails to build with autoconf 2.70 with the following error: ... autoreconf: running: intltoolize --copy --force You should update your 'aclocal.m4' by running aclocal. autoreconf: running: gtkdocize --copy Can't exec "gtkdocize": No such file or directory at /nix/store/hm8xfxprfk4l1msb9hpjwgydilbqlvl5-autoconf-2.70/share/autoconf/Autom4te/FileUtils.pm line 293. autoreconf: error: gtkdocize failed with exit status: 2 gnome2.gtksourceview builds successfully with autoconf 2.69. --- pkgs/desktops/gnome-2/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/desktops/gnome-2/default.nix b/pkgs/desktops/gnome-2/default.nix index 4212fa68bd4a..50222b386c8e 100644 --- a/pkgs/desktops/gnome-2/default.nix +++ b/pkgs/desktops/gnome-2/default.nix @@ -58,7 +58,9 @@ lib.makeScope pkgs.newScope (self: with self; { # Removed from recent GNOME releases, but still required scrollkeeper = callPackage ./desktop/scrollkeeper { }; - gtksourceview = callPackage ./desktop/gtksourceview { }; + gtksourceview = callPackage ./desktop/gtksourceview { + autoreconfHook = pkgs.autoreconfHook269; + }; vte = callPackage ./desktop/vte { };