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.
This commit is contained in:
Ricardo Wurmus 2019-01-24 07:52:12 +01:00
parent e2f47efee6
commit 6858ade2e5
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 2 additions and 9 deletions

View File

@ -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.