ppp: fix invalid use of substituteInPlace

substituteInPlace was invoked with multiple targets on the command line, which
is not supported.
This commit is contained in:
Thomas Tuegel
2017-07-21 15:45:24 -05:00
parent c1c314c36f
commit baad413416
+3 -1
View File
@@ -34,7 +34,9 @@ stdenv.mkDerivation rec {
''; '';
postFixup = '' postFixup = ''
substituteInPlace $out/bin/{pon,poff,plog} --replace "/usr/sbin" "$out/bin" for tgt in pon poff plog; do
substituteInPlace "$out/bin/$tgt" --replace "/usr/sbin" "$out/bin"
done
''; '';
meta = { meta = {