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