summary refs log tree commit diff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-01-24 07:52:12 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-24 13:46:39 +0100
commit6858ade2e56b9c4573bc8ba191cd63af997abd5d (patch)
treef2f5fb0cb9ba5cb6b0c911361698ce25113c72f7 /gnu/packages/tex.scm
parente2f47efee62010f6382fa5a4c43c6eb1b3c3d365 (diff)
downloadguix-6858ade2e56b9c4573bc8ba191cd63af997abd5d.tar.gz
gnu: texlive-latex-base: Put fewer paths on TEXINPUTS.
* gnu/packages/tex.scm (texlive-latex-base)[arguments]: Use double slash for
recursive directory search instead of FIND-FILES.
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r--gnu/packages/tex.scm11
1 files changed, 2 insertions, 9 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 139400cbd9..2ece9b8c54 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1165,15 +1165,8 @@ book).")
                         (getcwd) ":"
                         (getcwd) "/build:"
                         (string-join
-                         (append-map (match-lambda
-                                       ((_ . dir)
-                                        (find-files dir
-                                                    (lambda (_ stat)
-                                                      (eq? 'directory (stat:type stat)))
-                                                    #:directories? #t
-                                                    #:stat stat)))
-                                     inputs)
-                         ":")))
+                         (map (match-lambda ((_ . dir) dir)) inputs)
+                         "//:")))
 
                ;; Create an empty texsys.cfg, because latex.ltx wants to include
                ;; it.  This file must exist and it's fine if it's empty.