Mark H Weaver <m...@netris.org> skribis:

> l...@gnu.org (Ludovic Courtès) writes:
>
>> Mark H Weaver <m...@netris.org> skribis:
>>
>>> The built texinfo 5.0 packages contain a few uses of 'perl' that are not
>>> pointing to a specific version in /nix/store:
>>
>> Yes, I know, but since in ‘core-updates’ we’ll change ‘patch-shebang’ to
>> handle /usr/bin/env specially, that’ll work well there.
>
> Unless I'm mistaken, that will fix only 2 out of 4 of the occurrences:
>
> ./bin/pod2texi:1:#!/nix/store/777jas1fcgc38hmvq6lq1sa9k67f10kl-coreutils-8.20/bin/env
>  perl
> ./bin/texi2dvi:1437:      perl -pe 's<\\documentclass(?:\[.*\])?{.*}>
> ./bin/texi2dvi:1544:      perl -pi -e 's/[ \t]+$//g' "$out_base"*;;
> ./bin/texi2any:1:#!/nix/store/777jas1fcgc38hmvq6lq1sa9k67f10kl-coreutils-8.20/bin/env
>  perl 

Indeed, sorry for overlooking that.

That’s a case for ‘wrap-program’, also scheduled for ‘core-updates’.

(Note that f6d7be1 fixes all of them, because it puts Perl in $PATH, but
that’s obviously not the best solution.)

Thanks,
Ludo’.

Reply via email to