diff options
| author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2025-02-10 10:43:57 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-05-06 11:25:06 +0200 |
| commit | f6d9057ff274a67fd2bcf872a83993a92b7cf8e2 (patch) | |
| tree | a8635a038b72d4c6922dcf0f7f1102c31313a9c3 /gnu/packages/tex.scm | |
| parent | 4e04035d36a3486fe3e86c54017b0786a4eb80c8 (diff) | |
gnu: texlive-libkpathsea: Enforce ls-R usage by default.
Fixes: https://issues.guix.gnu.org/75893
* gnu/packages/tex.scm (texlive-libkpathsea): Set TEXMF so that ls-R database
is mandatory and must contain the file looked after in the TeX Live tree.
* guix/build/texlive-build-system.scm (configure-texmf): Relax requirements
for "ls-R" database. Renamed from `set-texmfvar'.
(%standard-phases): Apply phase renaming.
* gnu/packages/python-xyz.scm (python-nbconvert)[native-inputs]: Add TeX Live
packages required for tests to pass since propagated packages are no longer
accessible during build.
* gnu/packages/books.scm (book-sparc)[inputs]: Move TeX Live related inputs
to...
[native-inputs]: ... here, and wrap them within texlive-local-tree for the
same reason as above.
Change-Id: I3430bc84ce35f4aa8f0537b512f472ef88f8e5e9
Diffstat (limited to 'gnu/packages/tex.scm')
| -rw-r--r-- | gnu/packages/tex.scm | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 5aaac35e534..f0bea9f9a05 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -326,12 +326,9 @@ should not be installed in a profile.") (("^TEXMFROOT = .*") "TEXMFROOT = {$GUIX_TEXMF}/..\n") (("^TEXMFDIST = .*") "TEXMFDIST = {$GUIX_TEXMF}\n") ;; "ls-R" files are to be expected only in the TEXMFDIST - ;; directories. However, those are not always present, e.g., - ;; when building a package with `texlive-build-system' or when - ;; generating a profile. Since both situations need to be - ;; handled, drop the "!!" prefixes. + ;; directories. (("^TEXMF = .*") - "TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXMFSYSCONFIG,$TEXMFSYSVAR,$TEXMFDIST}\n") + "TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXMFSYSCONFIG,$TEXMFSYSVAR,!!$TEXMFDIST}\n") (("^TEXMFDBS = .*") "TEXMFDBS = {$TEXMFDIST}\n") ;; Ignore system-wide cache, which is not writable. Use local ;; one instead, i.e. "$HOME/.texliveYYYY/texmf-var/". |
