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:
parent
c806501a6d
commit
d10d76f487
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue