guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/08: gnu: texlive-latex-base: Put fewer paths on TEXINPUTS.


From: guix-commits
Subject: 02/08: gnu: texlive-latex-base: Put fewer paths on TEXINPUTS.
Date: Thu, 24 Jan 2019 07:46:53 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 6858ade2e56b9c4573bc8ba191cd63af997abd5d
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Jan 24 07:52:12 2019 +0100

    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.
---
 gnu/packages/tex.scm | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 139400c..2ece9b8 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]