@@ -1,7 +1,7 @@
11# TODO: Resolve the issues with the Mono bindings.
22
33{ stdenv, fetchurl, fetchpatch, lib, file
4−, pkgconfig, autoconf
4+, pkgconfig, autoreconfHook
55, glib, dbus-glib, gtkVersion ? "3"
66, gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null
77, gtk3 ? null, libindicator-gtk3 ? null, libdbusmenu-gtk3 ? null
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 sha256 = "17xlqd60v0zllrxp8bgq3k5a1jkj0svkqn8rzllcyjh8k0gpr46m";
2525 };
2626
27− nativeBuildInputs = [ pkgconfig autoconf vala gobject-introspection ];
27+ nativeBuildInputs = [ pkgconfig autoreconfHook vala gobject-introspection ];
2828
2929 propagatedBuildInputs =
3030 if gtkVersion == "2"
@@ -47,7 +47,6 @@ stdenv.mkDerivation rec {
4747 ];
4848
4949 postPatch = ''
50− autoconf
5150 for f in {configure,ltmain.sh,m4/libtool.m4}; do
5251 substituteInPlace $f \
5352 --replace /usr/bin/file ${file}/bin/file