[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/31: gnu: texlive-uplatex: Fix build.
From: |
guix-commits |
Subject: |
25/31: gnu: texlive-uplatex: Fix build. |
Date: |
Wed, 16 Aug 2023 05:25:41 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit a0007cb06b62253fbd5952c45ab8be7083bc18d7
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Aug 15 21:21:36 2023 +0200
gnu: texlive-uplatex: Fix build.
* gnu/packages/tex.scm (texlive-uplatex)[arguments]<#:phases>: Add a phase
to
deal with duplicate "ukinsoku.tex".
---
gnu/packages/tex.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
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
- 13/31: gnu: Add texlive-latex-notes-zh-cn., (continued)
- 13/31: gnu: Add texlive-latex-notes-zh-cn., guix-commits, 2023/08/16
- 22/31: gnu: Add texlive-xtuthesis., guix-commits, 2023/08/16
- 24/31: gnu: Add texlive-zhlipsum., guix-commits, 2023/08/16
- 30/31: gnu: texlive-ctex: Fix build., guix-commits, 2023/08/16
- 15/31: gnu: Add texlive-nanicolle., guix-commits, 2023/08/16
- 19/31: gnu: Add texlive-texproposal., guix-commits, 2023/08/16
- 27/31: gnu: texlive-zhnumber: Fix build., guix-commits, 2023/08/16
- 16/31: gnu: Add texlive-njurepo., guix-commits, 2023/08/16
- 08/31: gnu: Add texlive-exam-zh., guix-commits, 2023/08/16
- 11/31: gnu: Add texlive-impatient-cn., guix-commits, 2023/08/16
- 25/31: gnu: texlive-uplatex: Fix build.,
guix-commits <=
- 31/31: gnu: Add texlive-collection-langchinese., guix-commits, 2023/08/16