[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/12: guix: texlive importer: Do not pull all "scripts/context/" files.
From: |
guix-commits |
Subject: |
01/12: guix: texlive importer: Do not pull all "scripts/context/" files. |
Date: |
Mon, 3 Jul 2023 16:27:38 -0400 (EDT) |
ngz pushed a commit to branch tex-team-next
in repository guix.
commit 1116458dc0a2057f1ffc6594c9a263fad73c6a97
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Jul 3 09:23:44 2023 +0200
guix: texlive importer: Do not pull all "scripts/context/" files.
* guix/import/texlive.scm (texlive-generic-locations): Add
"scripts/context/"
since this location is split across multiple packages.
* guix/import/texlive.scm (files->locations): Only single out files from
generic locations, not their sub-directories. E.g., generic location
"scripts/context/lua/" should not fetch "scripts/context/lua/third/" files.
---
guix/import/texlive.scm | 12 ++++++++----
1 file 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
- branch tex-team-next updated (f149f099dc -> 5673520884), guix-commits, 2023/07/03
- 04/12: gnu: Add texlive-cweb., guix-commits, 2023/07/03
- 02/12: gnu: texlive-mptopdf: Fix package., guix-commits, 2023/07/03
- 01/12: guix: texlive importer: Do not pull all "scripts/context/" files.,
guix-commits <=
- 03/12: gnu: texlive-context: Fix package., guix-commits, 2023/07/03
- 07/12: guix: Add linter warning about texlive-updmap.cfg and texlive-tiny., guix-commits, 2023/07/03
- 10/12: gnu: chez-web: Fix build., guix-commits, 2023/07/03
- 11/12: gnu: asymptote: Fix build., guix-commits, 2023/07/03
- 05/12: gnu: texlive-updmap.cfg: Provide basic scheme., guix-commits, 2023/07/03
- 06/12: gnu: Rationalize texlive-updmap.cfg and texlive-tiny inputs., guix-commits, 2023/07/03
- 08/12: gnu: Add texlive-forloop., guix-commits, 2023/07/03
- 09/12: gnu: discrover: Fix build., guix-commits, 2023/07/03
- 12/12: gnu: Deprecate `texlive-tiny'., guix-commits, 2023/07/03