git.iko.soy/typeable/nixpkgs
on master help sign in
libappindicator-gtk2: remove obsolete substitutions
commit573ab436a4e8e17b0561b999b5860df0ed87504a authornyanloutre <paul@nyanlout.re> dateSat 30 Nov 2019, 17:39 (7 years ago) parentf49002c
1 file changed+1−13
pkgs/development/libraries/libappindicator/default.nix+1−13
pkgs/development/libraries/libappindicator/default.nix+1−13
@@ -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 = [