diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2025-03-29 14:59:25 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-05-06 11:25:07 +0200 |
commit | 1a8b36329f8139bef7b8b5af8a01ba15b9b77747 (patch) | |
tree | c5ff81a32376720607113a228c0253fcd2ee584b /gnu/packages/ocaml.scm | |
parent | b1ef3bce13f5228b88218a4b908b2dd7d570c2a4 (diff) |
gnu: texlive-libkpathsea: Tweak "texmf.cnf" variables.
* gnu/packages/tex.scm (texlive-libkpathsea): Use XDG variables instead of
HOME for cache and user configuration. Re-instate TEXMFLOCAL, which may be
necessary for external TeX installations.
(texlive-luatex): Re-instate TEXFLOCAL.
* gnu/packages/algebra.scm (gap):
* gnu/packages/assembly.scm (asl):
(yaehmop):
* gnu/packages/bioinformatics.scm (discrover):
* gnu/packages/chez.scm (chez-scheme-for-racket):
* gnu/packages/engineering.scm (fastcap):
* gnu/packages/fsf.scm (book-faif):
* gnu/packages/maths.scm (hypre):
(stex-boostrap):
(suitesparse-amd):
(suitesparse-camd):
(suitesparse-cholmod):
(suitesparse-klu):
(suitesparse-ldl):
(suitesparse-mongoose):
(suitesparse-spex):
(suitesparse-spqr):
(suitesparse-umfpack):
* gnu/packages/ocaml.scm (ocaml-bibtex2html):
(unison):
* gnu/packages/python-xyz.scm (python-nbconvert):
* gnu/packages/statistics.scm (r-with-tests)[arguments]: Set TEXMFVAR to
a writable location.
Change-Id: I3d2d069cf41a92214d9d6fb7f4d54fc81fe6db7a
Diffstat (limited to 'gnu/packages/ocaml.scm')
-rw-r--r-- | gnu/packages/ocaml.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 5e4c08667a..01aef23b2a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -1457,6 +1457,9 @@ software engineering.") (arguments `(#:phases (modify-phases %standard-phases + (add-before 'build 'writable-texmfvar + ;; Generating font shapes requires a writable TEXMFVAR. + (lambda _ (setenv "TEXMFVAR" "/tmp"))) (add-after 'install 'install-doc (lambda* (#:key outputs #:allow-other-keys) (let ((doc (string-append (assoc-ref outputs "out") @@ -9459,8 +9462,8 @@ SHA384, SHA512, Blake2b, Blake2s and RIPEMD160.") (add-after 'unpack 'patch-/bin/sh (lambda _ (substitute* "configure" (("/bin/sh") (which "bash"))) - ;; mktexfmt needs writable home directory. - (setenv "HOME" (getcwd))))))) + ;; mktexfmt needs writable TEXMFVAR directory. + (setenv "TEXMFVAR" "/tmp")))))) (native-inputs (list (texlive-local-tree (list texlive-infwarerr |