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

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 10 Jun 2024 18:56:04 +0000

Your bug report

#71317: [PATCH] fixed dependencies for latexindent

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
71317: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71317
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#71317] [PATCH] fixed dependencies for latexindent
From: Nicolas Goaziou <[email-masked]>
To: Nicolas Goaziou via Guix-patches via <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Mon, 10 Jun 2024 20:34:35 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Nicolas Goaziou via Guix-patches via <[email-masked]> writes:

> 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"))))))

I went ahead and applied the changes suggested, then pushed it.

Thank you for your initial report!

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] fixed dependencies for latexindent
From: [email-masked]
To: [email-masked]
Date: Sat, 01 Jun 2024 15:10:13 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

 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

Change-Id: I70e90419b0a513c66292218ae307fc186465ca60
---
  gnu/packages/tex.scm | 1 +
  1 file changed, 1 insertion(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 4e46c1a..1df707f 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -38510,6 +38510,7 @@ (define-public texlive-latexindent
      (build-system texlive-build-system)
      (arguments (list #:link-scripts #~(list "latexindent.pl")))
      (inputs (list perl))
+    (propagated-inputs (list perl perl-yaml-tiny perl-file-homedir))
      (home-page "https://ctan.org/pkg/latexindent")
      (synopsis "Indent a LaTeX document, highlighting the programming 
structure")
      (description
-- 
2.45.1