git.iko.soy/typeable/nixpkgs
on master help sign in
libindicate: fix substituteInPlace usage
commitc806501a6df1732e88f855740250b31b60ac11b0 authorWilli Butz <wbutz@cyberfnord.de> dateWed 2 Aug 2017, 18:29 (9 years ago) parent3bd6061
1 file changed+4−2
pkgs/development/libraries/libindicate/default.nix+4−2
pkgs/development/libraries/libindicate/default.nix+4−2
@@ -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 = [