From c1fbcc748958d3ddd8777df5bd51140199ab80cf Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 3 Aug 2024 02:09:49 +0200 Subject: 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 --- gnu/packages/tex.scm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'gnu/packages/tex.scm') 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 @@ (define-public texlive-bbold (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 -- cgit v1.2.3