guix_mirror_bot pushed a commit to branch tex-team
in repository guix.
commit f3bdc09486e53f9a7cdcefcdf11b2aef860ed8a0
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Tue Jun 30 22:01:48 2026 +0200
gnu: texlive-local-tree: Populate ls-R also with foreign packages.
* gnu/packages/tex.scm (texlive-local-tree): Populate ls-R file with all
packages, including non TeX Live packages.
---
gnu/packages/tex.scm | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index a8a5003b681..702b2e26124 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1329,15 +1329,19 @@ documentation in the TeX format."
(add-before 'unpack 'initialize-tree
(lambda* (#:key inputs #:allow-other-keys)
;; Build complete TeX Live tree in #$output, barring the
- ;; files going to be regenerated.
- (let ((texlive-outputs
+ ;; files going to be regenerated. Tree includes both
+ ;; genuine TeX Live packages and packages providing
+ ;; TeX-related file among inputs.
+ (let ((texlive-inputs
(filter-map
(match-lambda
(`(,label . ,dir)
- (and (string-prefix? "texlive-" label)
+ (and (or (string-prefix? label "texlive-")
+ (file-exists?
+ (string-append dir
"/share/texmf-dist")))
dir)))
inputs)))
- (union-build #$output texlive-outputs
+ (union-build #$output texlive-inputs
#:create-all-directories? #t
#:log-port (%make-void-port "w")))
;; Remove files that are going to be regenerated.