me
/
guix
Archived
1
0
Fork 0

gnu: texlive-latexindent: Fix runtime error.

* gnu/packages/tex.scm (texlive-latexindent)[arguments]<#:phases>: Wrap Perl
script so it can find Perl libraries.
[inputs]: Add PERL-FILE-HOMEDIR and PERL-YAML-TINY.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: I428c20f0c8aa49cc8273f41512f37b3622347ecc
master
Aria Nolan 2024-06-10 20:31:59 +02:00 committed by Nicolas Goaziou
parent df5648daa1
commit 1035dfbadb
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 9 additions and 2 deletions

View File

@ -38508,8 +38508,15 @@ style file.")
"1k2d09z2my38nhxhzdq53jg4alzg5jzirdsb1qa7szm3dya46xgm")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(arguments (list #:link-scripts #~(list "latexindent.pl")))
(inputs (list perl))
(arguments
(list #:link-scripts #~(list "latexindent.pl")
#:phases
#~(modify-phases %standard-phases
(add-after 'link-scripts 'wrap-perl-script
(lambda _
(wrap-program (string-append #$output "/bin/latexindent")
`("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))))))
(inputs (list perl perl-file-homedir perl-yaml-tiny))
(home-page "https://ctan.org/pkg/latexindent")
(synopsis "Indent a LaTeX document, highlighting the programming structure")
(description