Subject: Re: [bug#71602] [PATCH] gnu: texlive-scripts: add mktexfmt
From: Nicolas Goaziou <[email-masked]>
To: spencerpeters via Guix-patches via <[email-masked]>
Cc: "[email-masked]" <[email-masked]>, [email-masked], "[email-masked]" <[email-masked]>, spencerpeters <[email-masked]>
Date: Mon, 17 Jun 2024 09:18:59 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

spencerpeters via Guix-patches via <[email-masked]> writes:

> * gnu/packages/tex.scm (texlive-scripts): add mktexfmt

Good catch.

> Hello. I have noticed while using a modular TeX Live installation that the texlive-scripts package
> lacks mktexfmt, which is necessary for creating TeX fmts.

Actually, it is not strictly necessary. Guix uses "fmtutil-sys" to
generate such fmts.  But you're right, the script should be installed anyway.

> #:link-scripts
> - (find-files "scripts")))))))))
> + (find-files "scripts"))))))
> + (add-after 'link-scripts 'link-mktexfmt
> + (lambda _
> + (let ((fmtutil (string-append #$output "/bin/fmtutil")))
> + (symlink fmtutil
> + (string-append #$output "/bin/mktexfmt" ))))))))

I integrated this in the `link-scripts' phase, and pushed to "tex-team"
branch. "mktexfmt" should be available once this branch is merged.

Regards,
-- 
Nicolas Goaziou