diff options
-rw-r--r-- | guix/import/texlive.scm | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/guix/import/texlive.scm b/guix/import/texlive.scm index 8f90be0c7b..fe28b24715 100644 --- a/guix/import/texlive.scm +++ b/guix/import/texlive.scm @@ -52,10 +52,12 @@ ;; Package definitions should single out files stored there, or all files in ;; the directory from all involved packages would be downloaded. (define texlive-generic-locations - (list "doc/generic/hyph-utf8/" - "doc/info/" - "doc/man/" + (list "doc/info/" + "doc/man/man1/" + "doc/man/man5/" "doc/web2c/" + "scripts/context/lua/" + "scripts/context/perl/" "scripts/texlive/" "scripts/texlive-extra/" "tex/generic/config/" @@ -359,7 +361,9 @@ of those files are returned that are unexpectedly installed." ;; imported. (let-values (((generic specific) (partition (lambda (f) - (any (cut string-prefix? <> f) + ;; Only grab files from generic locations, not + ;; sub-directories. + (any (cut string=? <> (trim-filename f)) texlive-generic-locations)) files))) (append generic |