gnu: texlive-texdoctk: Fix runtime error.

* gnu/packages/tex.scm (texlive-texdoctk)[arguments]<#:phases>: Wrap Perl
libraries.
[inputs]: Add PERL-TK.

Change-Id: Iec7a96ddf4378780a1720e1ad09197fcfc4616b7
This commit is contained in:
Nicolas Goaziou 2024-05-28 16:39:15 +02:00 committed by Ludovic Courtès
parent 8f0b6c5ac1
commit c2624353ff
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -44770,8 +44770,16 @@ other configuration can be extensively customized.")
"18xxivpgjdh8v6kg0b45zjv18sm9a4ljpwk6a4cghg5l5yggrjcx")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(arguments (list #:link-scripts #~(list "texdoctk.pl")))
(inputs (list perl))
(arguments
(list
#:link-scripts #~(list "texdoctk.pl")
#:phases
#~(modify-phases %standard-phases
(add-after 'link-scripts 'wrap-perl-script
(lambda _
(wrap-program (string-append #$output "/bin/texdoctk")
`("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))))))
(inputs (list perl perl-tk))
(propagated-inputs (list texlive-kpathsea))
(home-page "https://ctan.org/pkg/texdoctk")
(synopsis "Easy access to package documentation")