[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/97: gnu: texlive-luatex: Set proper default values for "texmfcnf.lua"
From: |
guix-commits |
Subject: |
06/97: gnu: texlive-luatex: Set proper default values for "texmfcnf.lua". |
Date: |
Fri, 21 Jun 2024 08:22:42 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 6b54b4990e5cdda679802c3d7fe2b77c98f5540c
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 | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index dfaac0397b..e2b8a1abb2 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -48039,8 +48039,22 @@ 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")
+ (("TEXMFSYSVAR *=.*")
+ "TEXMFSYSVAR = \"$TEXMFDIST/../texmf-var\",\n")
+ (("TEXMFSYSCONFIG *=.*")
+ "TEXMFSYSCONFIG = \"$TEXMFDIST/../texmf-config\",\n")
+ (("TEXMF *=.*")
+ "TEXMF =
\"{$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXMFSYSCONFIG,$TEXMFSYSVAR,$TEXMFDIST}\",\n")))))))
+ (native-inputs (list texlive-kpathsea))
(propagated-inputs
(list texlive-cm
texlive-etex
- branch tex-team created (now e7a26e5392), guix-commits, 2024/06/21
- 06/97: gnu: texlive-luatex: Set proper default values for "texmfcnf.lua".,
guix-commits <=
- 04/97: gnu: texlive-libkpathsea: Use TEXLIVE-SOURCE., guix-commits, 2024/06/21
- 13/97: gnu: texlive-csplain: Fix build., guix-commits, 2024/06/21
- 11/97: gnu: tex.scm: Remove completed TODO., guix-commits, 2024/06/21
- 16/97: gnu: Add texlive-omegaware-bin., guix-commits, 2024/06/21
- 18/97: gnu: Add texlive-texware-bin., guix-commits, 2024/06/21
- 09/97: gnu: Add texlive-libptexenc., guix-commits, 2024/06/21
- 17/97: gnu: Add texlive-fontware-bin., guix-commits, 2024/06/21
- 01/97: gnu: texlive-libkpathsea: Fix TEXMFCACHE location., guix-commits, 2024/06/21
- 07/97: gnu: texlive-updmap.cfg: Fix font file creation in $HOME., guix-commits, 2024/06/21
- 08/97: gnu: texlive-context: Fix "context" call., guix-commits, 2024/06/21