mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 02:59:17 -05:00
gnu: texlive-platex: Fix build.
* gnu/packages/tex.scm (texlive-platex)[arguments]<#:phases>: Add a phase to deal with duplicate "kinsoku.tex".
This commit is contained in:
parent
dc955bb62d
commit
383e9a4b0d
1 changed files with 12 additions and 1 deletions
|
@ -14036,7 +14036,18 @@ (define-public texlive-platex
|
|||
"0a843xnp3iikjxw1klxb3j2bssm6ylhcw32s046xxm2bs527hxi8")))
|
||||
(outputs '("out" "doc"))
|
||||
(build-system texlive-build-system)
|
||||
(arguments (list #:create-formats #~(list "platex" "platex-dev")))
|
||||
(arguments
|
||||
(list #:create-formats #~(list "platex" "platex-dev")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-build
|
||||
;; This phase is necessary because the build phase is
|
||||
;; reluctant to generate "kinsoku.tex" since there is another
|
||||
;; one among the inputs (texlive-ptex) already.
|
||||
(lambda _
|
||||
(substitute* "source/platex/base/plfmt.ins"
|
||||
(("\\\\keepsilent\n" all)
|
||||
(string-append all "\\askforoverwritefalse\n"))))))))
|
||||
(propagated-inputs
|
||||
(list texlive-atbegshi
|
||||
texlive-atveryend
|
||||
|
|
Loading…
Reference in a new issue