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:
parent
c1c314c36f
commit
baad413416
@ -34,7 +34,9 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user