aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2024-08-03 02:09:49 +0200
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:45:45 +0200
commitc1fbcc748958d3ddd8777df5bd51140199ab80cf (patch)
tree93aad304fc4f399473a4c06902f34d8fb30d688b
parentb5e9be788f287adbdee12caa0beae3612881e364 (diff)
downloadguix-c1fbcc748958d3ddd8777df5bd51140199ab80cf.tar.gz
guix-c1fbcc748958d3ddd8777df5bd51140199ab80cf.zip
gnu: texlive-bbold: Fix build.
* gnu/packages/tex.scm (texlive-bbold)[arguments]<#:phases>: Add a phase to skip building documentation, which fails. [native-inputs]: Add TEXLIVE-ETOOLBOX. Change-Id: I32526808c121b6d5ab1eb167fecbde38d40d0979
-rw-r--r--gnu/packages/tex.scm12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index c989e4b797..0eacc35ea3 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -61327,11 +61327,19 @@ the fonts within maths.")
(build-system texlive-build-system)
(arguments
(list #:build-targets #~(list "bbold.dtx")
- #:tex-format "latex"))
+ #:tex-format "latex"
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Building documentation, automatic when generating
+ ;; runfiles, fails. Skip building it.
+ (add-after 'unpack 'skip-documentation
+ (lambda _
+ (substitute* "source/latex/bbold/bbold.dtx"
+ (("\\\\DocInput\\{bbold\\.dtx\\}") "")))))))
(native-inputs
(list texlive-metafont
(texlive-updmap.cfg
- (list texlive-hypdoc))))
+ (list texlive-etoolbox texlive-hypdoc))))
(home-page "https://ctan.org/pkg/bbold")
(synopsis "Sans serif blackboard bold")
(description