po4a: Use absolute path to perl

Fixes an issue under Darwin where perl cannot be found
This commit is contained in:
Andreas Stührk
2023-12-01 13:05:49 +01:00
parent ef036bfba5
commit 054927c2f1
@@ -57,6 +57,7 @@ buildPerlPackage rec {
./Build install
for f in $out/bin/*; do
substituteInPlace $f --replace "#! /usr/bin/env perl" "#!${perl}/bin/perl"
substituteInPlace $f --replace "exec perl" "exec ${perl}/bin/perl"
done
'';
meta = {