aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2024-05-28 16:39:15 +0200
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:45:28 +0200
commitc2624353ff9be2c62513a825ae0ac715dcd11085 (patch)
tree720affeb90aeb4e737d9214e5978d668348974f3 /gnu/packages/tex.scm
parent8f0b6c5ac18dc13eef1d5d88781f42122e37993f (diff)
downloadguix-c2624353ff9be2c62513a825ae0ac715dcd11085.tar
guix-c2624353ff9be2c62513a825ae0ac715dcd11085.tar.gz
gnu: texlive-texdoctk: Fix runtime error.
* gnu/packages/tex.scm (texlive-texdoctk)[arguments]<#:phases>: Wrap Perl libraries. [inputs]: Add PERL-TK. Change-Id: Iec7a96ddf4378780a1720e1ad09197fcfc4616b7
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r--gnu/packages/tex.scm12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 08b974bc1c..69cf1231ba 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -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")