summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2026-01-02 14:56:05 +0100
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:24:12 +0100
commit60853eb21de51dc4e9576d05ba685b8eb6058cb8 (patch)
treed4da6c7ff13bb34cf9d1c5651654e11245d34359 /gnu
parent16838140fe57d401e7df441d7fda2fe34226e985 (diff)
gnu: Fix reproducibility for some TeX Live packages.
* guix/build/texlive-build-system.scm (configure-texmf): * gnu/packages/tex.scm (texlive-xindy-bin): Set TEXMFVAR to "/tmp" instead of the current build directory as the latter's contents may leak into the package output. For example, without this change LuaLaTeX, cache files were installed in the output in every package relying on "lualatex" format. Change-Id: I7d762b33a50e77af6b4eb1fb17d75dcc5eac950c Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tex.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index b1ef5f5af0..aa2c74645a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -15,7 +15,7 @@
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020, 2021 Paul Garlick <pgarlick@tourbillion-technology.com>
;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim@guixotic.coop>
-;;; Copyright © 2021-2025 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2021-2026 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
@@ -93839,7 +93839,7 @@ in terms of the collating order of the text being processed.")
;; HOME and therefore TEXMFVAR are unavailable. Use a local
;; TEXMFVAR instead.
(lambda _
- (setenv "TEXMFVAR" (string-append (getcwd) "/texmf-var"))))
+ (setenv "TEXMFVAR" "/tmp")))
(add-before 'install 'create-missing-directory
;; XXX: Install process does not create this directory.
(lambda _