vte-ng: fix build

This commit is contained in:
worldofpeace 2019-04-06 17:41:01 -04:00
parent 1fa452535e
commit f3ac8d3dca

@ -1,4 +1,4 @@
{ vte, fetchFromGitHub, autoconf, automake, gtk-doc, gettext, libtool, gperf }:
{ vte, fetchFromGitHub, fetchpatch, autoconf, automake, gtk-doc, gettext, libtool, gperf }:
vte.overrideAttrs (oldAttrs: rec {
name = "vte-ng-${version}";
@ -11,6 +11,15 @@ vte.overrideAttrs (oldAttrs: rec {
sha256 = "1r7d9m07cpdr4f7rw3yx33hmp4jmsk0dn5byq5wgksb2qjbc4ags";
};
patches = [
# Fix build with vala 0.44
# See: https://github.com/thestinger/vte-ng/issues/32
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/vte/commit/53690d5cee51bdb7c3f7680d3c22b316b1086f2c.patch";
sha256 = "1jrpqsx5hqa01g7cfqrsns6vz51mwyqwdp43ifcpkhz3wlp5dy66";
})
];
preConfigure = oldAttrs.preConfigure + "; NOCONFIGURE=1 ./autogen.sh";
nativeBuildInputs = oldAttrs.nativeBuildInputs or []