mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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
This commit is contained in:
parent
df5648daa1
commit
1035dfbadb
1 changed files with 9 additions and 2 deletions
|
@ -38508,8 +38508,15 @@ (define-public texlive-latexindent
|
|||
"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
|
||||
|
|
Loading…
Reference in a new issue