From 573ab436a4e8e17b0561b999b5860df0ed87504a Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Sat, 30 Nov 2019 17:39:09 +0100 Subject: [PATCH] libappindicator-gtk2: remove obsolete substitutions --- .../libraries/libappindicator/default.nix | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/pkgs/development/libraries/libappindicator/default.nix b/pkgs/development/libraries/libappindicator/default.nix index 0d969c318ecc..e9fccaf28abf 100644 --- a/pkgs/development/libraries/libappindicator/default.nix +++ b/pkgs/development/libraries/libappindicator/default.nix @@ -1,6 +1,6 @@ # TODO: Resolve the issues with the Mono bindings. -{ stdenv, fetchurl, fetchpatch, lib, file +{ stdenv, fetchurl, fetchpatch, lib , pkgconfig, autoreconfHook , glib, dbus-glib, gtkVersion ? "3" , gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null @@ -46,13 +46,6 @@ stdenv.mkDerivation rec { }) ]; - postPatch = '' - for f in {configure,ltmain.sh,m4/libtool.m4}; do - substituteInPlace $f \ - --replace /usr/bin/file ${file}/bin/file - done - ''; - configureFlags = [ "CFLAGS=-Wno-error" "--sysconfdir=/etc" @@ -60,11 +53,6 @@ stdenv.mkDerivation rec { "--with-gtk=${gtkVersion}" ]; - postConfigure = '' - substituteInPlace configure \ - --replace /usr/bin/file ${file}/bin/file - ''; - doCheck = false; # generates shebangs in check phase, too lazy to fix installFlags = [