libindicate: fix substituteInPlace usage

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

@ -38,8 +38,10 @@ in stdenv.mkDerivation rec {
--replace '=codegendir pygtk-2.0' '=codegendir pygobject-2.0' \
--replace 'pyglib-2.0-python$PYTHON_VERSION' 'pyglib-2.0-python'
autoconf
substituteInPlace {configure,ltmain.sh,m4/libtool.m4} \
--replace /usr/bin/file ${file}/bin/file
for f in {configure,ltmain.sh,m4/libtool.m4}; do
substituteInPlace $f \
--replace /usr/bin/file ${file}/bin/file
done
'';
configureFlags = [