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
This commit is contained in:
Nicolas Goaziou 2024-08-03 02:09:49 +02:00 committed by Ludovic Courtès
parent b5e9be788f
commit c1fbcc7489
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -61327,11 +61327,19 @@ (define-public texlive-bbold
(build-system texlive-build-system) (build-system texlive-build-system)
(arguments (arguments
(list #:build-targets #~(list "bbold.dtx") (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 (native-inputs
(list texlive-metafont (list texlive-metafont
(texlive-updmap.cfg (texlive-updmap.cfg
(list texlive-hypdoc)))) (list texlive-etoolbox texlive-hypdoc))))
(home-page "https://ctan.org/pkg/bbold") (home-page "https://ctan.org/pkg/bbold")
(synopsis "Sans serif blackboard bold") (synopsis "Sans serif blackboard bold")
(description (description