[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/69: gnu: texlive-luatex: Set proper default values for "texmfcnf.lua"
From: |
guix-commits |
Subject: |
06/69: gnu: texlive-luatex: Set proper default values for "texmfcnf.lua". |
Date: |
Fri, 31 May 2024 19:04:35 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 95769f71c9937ab126a03078680e12e054408b2e
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 5de8e5af79..c9c2c846dd 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -48030,8 +48030,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 fa5229cfe8), guix-commits, 2024/05/31
- 01/69: gnu: texlive-libkpathsea: Fix TEXMFCACHE location., guix-commits, 2024/05/31
- 02/69: gnu: texlive-libkpathsea: Remove duplicate documentation., guix-commits, 2024/05/31
- 07/69: gnu: texlive-context: Fix "context" call., guix-commits, 2024/05/31
- 03/69: gnu: Add texlive-source., guix-commits, 2024/05/31
- 06/69: gnu: texlive-luatex: Set proper default values for "texmfcnf.lua".,
guix-commits <=
- 11/69: gnu: texlive-latex-bin: Create symlinks for "latex" variants., guix-commits, 2024/05/31
- 12/69: gnu: Add texlive-mfware-bin., guix-commits, 2024/05/31
- 05/69: gnu: texlive-libkpathsea: Better default values in "texmf.cnf"., guix-commits, 2024/05/31
- 04/69: gnu: texlive-libkpathsea: Use TEXLIVE-SOURCE., guix-commits, 2024/05/31
- 10/69: gnu: tex.scm: Remove completed TODO., guix-commits, 2024/05/31
- 09/69: gnu: texlive-bin: Minimize build surface., guix-commits, 2024/05/31
- 08/69: gnu: Add texlive-libptexenc., guix-commits, 2024/05/31
- 13/69: gnu: Add texlive-omegaware-bin., guix-commits, 2024/05/31
- 15/69: gnu: Add texlive-texware-bin., guix-commits, 2024/05/31
- 14/69: gnu: Add texlive-fontware-bin., guix-commits, 2024/05/31