diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2024-05-11 17:56:15 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2024-05-18 16:25:08 +0200 |
commit | 5c37ce53bd91b57767e6a3ff75f0f5d9d8a03b2b (patch) | |
tree | d9271c5ebd0de9aff03a150fa321d6dd560acbb0 | |
parent | 8dcad64cff9ff46b66110ccb6b8da075168941ec (diff) |
gnu: texlive-texdoctk: Fix runtime error.
* gnu/packages/tex.scm (texlive-texdoctk)[arguments]: Wrap Per script so Perl
library is found at runtime.
[inputs]: Add PERL-TK.
* gnu/packages/tex.scm (texlive-bin): Do not build texdoctk.
Change-Id: Ibf867bbf5fd5f241878d7832f40536eec0d0d13c
-rw-r--r-- | gnu/packages/tex.scm | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 06ca76016f..826fbebdbb 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -773,6 +773,7 @@ and should be preferred to it whenever a package would otherwise depend on "ps2eps" "psutils" "t1utils" + "texdoctk" "upmendex" "xindy" "xpdfopen")))) @@ -43505,8 +43506,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") |