mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue