mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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
This commit is contained in:
parent
228ae96b05
commit
a1daaaf30b
1 changed files with 16 additions and 2 deletions
|
@ -48040,8 +48040,22 @@ (define-public texlive-luatex
|
||||||
(outputs '("out" "doc"))
|
(outputs '("out" "doc"))
|
||||||
(build-system texlive-build-system)
|
(build-system texlive-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:texlive-latex-bin? #f
|
(list
|
||||||
#:create-formats #~(list "dviluatex" "luatex")))
|
#: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
|
(propagated-inputs
|
||||||
(list texlive-cm
|
(list texlive-cm
|
||||||
texlive-etex
|
texlive-etex
|
||||||
|
|
Loading…
Reference in a new issue