[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/73: gnu: texlive-luatex: Set proper default values for "texmfcnf.lua"
From: |
guix-commits |
Subject: |
06/73: gnu: texlive-luatex: Set proper default values for "texmfcnf.lua". |
Date: |
Tue, 4 Jun 2024 16:39:47 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 0a56f48f3294e0eaa57490993b7f23fbcbd5f334
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 18:48:42 2024 +0200
gnu: texlive-luatex: Set proper default values for "texmfcnf.lua".
* gnu/packages/tex.scm (texlive-luatex)[arguments]<#:phases>: Make TeX
specific environment variables match those in "texmf.cnf".
Change-Id: Idb80dbe849c1dcdeea234dbedba6d8f3668e2b3f
---
gnu/packages/tex.scm | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 5062830b66..5e126e9528 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -48031,8 +48031,17 @@ in the same way as BSD/GNU @code{getopt_long(3)}
functions do.")
(outputs '("out" "doc"))
(build-system texlive-build-system)
(arguments
- (list #:texlive-latex-bin? #f
- #:create-formats #~(list "dviluatex" "luatex")))
+ (list
+ #:texlive-latex-bin? #f
+ #:create-formats #~(list "dviluatex" "luatex")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'customize-texmfcnf.lua
+ (lambda _
+ (substitute* "web2c/texmfcnf.lua"
+ (("TEXMFDIST *=.*") "TEXMFDIST = os.getenv(\"GUIX_TEXMF\"),\n")
+ (("TEXMF *=.*")
+ "TEXMF =
\"{$TEXMFCONFIG;$TEXMFVAR;$TEXMFHOME;$TEXMFLOCAL;$TEXMFDIST}\",\n")))))))
(propagated-inputs
(list texlive-cm
texlive-etex
- branch tex-team created (now 27805030c5), guix-commits, 2024/06/04
- 01/73: gnu: texlive-libkpathsea: Fix TEXMFCACHE location., guix-commits, 2024/06/04
- 02/73: gnu: texlive-libkpathsea: Remove duplicate documentation., guix-commits, 2024/06/04
- 03/73: gnu: Add texlive-source., guix-commits, 2024/06/04
- 07/73: gnu: texlive-context: Fix "context" call., guix-commits, 2024/06/04
- 05/73: gnu: texlive-libkpathsea: Better default values in "texmf.cnf"., guix-commits, 2024/06/04
- 08/73: gnu: Add texlive-libptexenc., guix-commits, 2024/06/04
- 11/73: gnu: texlive-latex-bin: Create symlinks for "latex" variants., guix-commits, 2024/06/04
- 04/73: gnu: texlive-libkpathsea: Use TEXLIVE-SOURCE., guix-commits, 2024/06/04
- 06/73: gnu: texlive-luatex: Set proper default values for "texmfcnf.lua".,
guix-commits <=
- 09/73: gnu: texlive-bin: Minimize build surface., guix-commits, 2024/06/04
- 10/73: gnu: tex.scm: Remove completed TODO., guix-commits, 2024/06/04
- 12/73: gnu: Add texlive-mfware-bin., guix-commits, 2024/06/04
- 15/73: gnu: Add texlive-texware-bin., guix-commits, 2024/06/04
- 17/73: gnu: Add texlive-uptex-bin., guix-commits, 2024/06/04
- 13/73: gnu: Add texlive-omegaware-bin., guix-commits, 2024/06/04
- 19/73: gnu: Add texlive-bibtex-bin., guix-commits, 2024/06/04
- 23/73: gnu: Add texlive-aleph-bin., guix-commits, 2024/06/04
- 29/73: gnu: Add texlive-pmx-bin., guix-commits, 2024/06/04
- 32/73: gnu: Add texlive-bibtexu-bin., guix-commits, 2024/06/04