mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: texlive-latex-base: Fix syntax error in Lua file.
* gnu/packages/tex.scm (texlive-latex-base)[arguments]: Patch ltluatex.dtx.
This commit is contained in:
parent
4798554038
commit
201015b10e
1 changed files with 7 additions and 0 deletions
|
@ -2402,6 +2402,13 @@ (define-public texlive-latex-base
|
|||
(srfi srfi-26)))
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
;; The literal tab in the dtx file is translated to the string
|
||||
;; "^^I" in the generated Lua file, which causes a syntax error.
|
||||
(add-after 'unpack 'fix-lua-sources
|
||||
(lambda _
|
||||
(substitute* "source/latex/base/ltluatex.dtx"
|
||||
((" ") " "))
|
||||
#t))
|
||||
(replace 'build
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; Find required fonts
|
||||
|
|
Loading…
Reference in a new issue