@@ -1,6 +1,6 @@
11# TODO: Resolve the issues with the Mono bindings.
22
3−{ stdenv, fetchurl, fetchpatch, lib, file
3+{ stdenv, fetchurl, fetchpatch, lib
44, pkgconfig, autoreconfHook
55, glib, dbus-glib, gtkVersion ? "3"
66, gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null
@@ -46,13 +46,6 @@ stdenv.mkDerivation rec {
4646 })
4747 ];
4848
49− postPatch = ''
50− for f in {configure,ltmain.sh,m4/libtool.m4}; do
51− substituteInPlace $f \
52− --replace /usr/bin/file ${file}/bin/file
53− done
54− '';
55−
5649 configureFlags = [
5750 "CFLAGS=-Wno-error"
5851 "--sysconfdir=/etc"
@@ -60,11 +53,6 @@ stdenv.mkDerivation rec {
6053 "--with-gtk=${gtkVersion}"
6154 ];
6255
63− postConfigure = ''
64− substituteInPlace configure \
65− --replace /usr/bin/file ${file}/bin/file
66− '';
67−
6856 doCheck = false; # generates shebangs in check phase, too lazy to fix
6957
7058 installFlags = [