1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

libindicator: fix substituteInPlace usage

This commit is contained in:
Willi Butz 2017-08-02 18:16:23 +02:00 committed by Robin Gloster
parent c806501a6d
commit d10d76f487
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

View file

@ -22,8 +22,10 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace configure \
--replace 'LIBINDICATOR_LIBS+="$LIBM"' 'LIBINDICATOR_LIBS+=" $LIBM"'
substituteInPlace {build-aux/ltmain.sh,configure,m4/libtool.m4} \
--replace /usr/bin/file ${file}/bin/file
for f in {build-aux/ltmain.sh,configure,m4/libtool.m4}; do
substituteInPlace $f\
--replace /usr/bin/file ${file}/bin/file
done
'';
configureFlags = [