Archived
1
0
Fork 0

gnu: texlive-uplatex: Fix build.

* gnu/packages/tex.scm (texlive-uplatex)[arguments]<#:phases>: Add a phase to
deal with duplicate "ukinsoku.tex".
This commit is contained in:
Nicolas Goaziou 2023-08-15 21:21:36 +02:00
parent d30f5d9258
commit a0007cb06b
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -15056,7 +15056,18 @@ barcodes.")
"0bzkyira30b9xdsdfxjmwzgqffl9pvckz5avm6c3r0bq6asiml9l")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(arguments (list #:create-formats #~(list "uplatex" "uplatex-dev")))
(arguments
(list #:create-formats #~(list "uplatex" "uplatex-dev")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-build
;; This phase is necessary because the build phase is
;; reluctant to generate "ukinsoku.tex" since there is
;; another one among the inputs (texlive-uptex) already.
(lambda _
(substitute* "source/uplatex/base/uplfmt.ins"
(("\\\\keepsilent\n" all)
(string-append all "\\askforoverwritefalse\n"))))))))
(propagated-inputs
(list texlive-atbegshi
texlive-atveryend