texinfo: use substituteInPlace --replace-fail

Get rid of the deprecation warning.
This commit is contained in:
Ben Wolsieffer 2024-10-12 14:55:28 -04:00
parent d604acb136
commit a670466186

View File

@ -125,7 +125,7 @@ stdenv.mkDerivation {
postFixup = optionalString crossBuildTools ''
for f in "$out"/bin/{pod2texi,texi2any}; do
substituteInPlace "$f" \
--replace ${buildPackages.perl}/bin/perl ${perl}/bin/perl
--replace-fail ${buildPackages.perl}/bin/perl ${perl}/bin/perl
done
'';