diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-08-15 21:21:36 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-08-16 11:22:56 +0200 |
commit | a0007cb06b62253fbd5952c45ab8be7083bc18d7 (patch) | |
tree | 760236d13081d43b5a4fca22ec8ceab434976c7c /gnu/packages | |
parent | d30f5d925804af347b70b632fabb21d46636e8d6 (diff) |
gnu: texlive-uplatex: Fix build.
* gnu/packages/tex.scm (texlive-uplatex)[arguments]<#:phases>: Add a phase to
deal with duplicate "ukinsoku.tex".
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/tex.scm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index fdeb52bfe8..6604cf095a 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -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 |