Subject: Re: [bug#71317] [PATCH] fixed dependencies for latexindent

From: Nicolas Goaziou <[email-masked]>
Date: Sun, 02 Jun 2024 15:05:09 +0200

Hello,

[email-masked] writes:

>  From eec57fe778c5dd90f1a773793740a39177e3a9a4 Mon Sep 17 00:00:00 2001
>  From: Aria Nolan <[email-masked]>
> Date: Sat, 1 Jun 2024 15:01:16 -0400
> Subject: [PATCH] fixed dependencies for latexindent

Thank you.

>       (inputs (list perl))
> +    (propagated-inputs (list perl perl-yaml-tiny perl-file-homedir))

Perl is already an input, it should not be a propagated input, too.
`perl-yaml-tiny' and `perl-file-homedir' should also be moved to inputs.
In that case, you will probably need to add a phase such as this one:

          (add-after 'link-scripts 'wrap-perl-script
            (lambda _
              (wrap-program (string-append #$output "/bin/latexindent")
                `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))))

Could you send an updated patch?

Regards,
-- 
Nicolas Goaziou