Subject: [bug#71859] [core-updates 2/3] gnu: texlive-kpathsea: Enable all format configurations.

From: Nicolas Goaziou <[email-masked]>
Date: Sun, 30 Jun 2024 18:46:17 +0200

* gnu/packages/tex.scm (texlive-kpathsea)[arguments]<#:phases>: Allow
generating all formats provided in TeX Live.

Change-Id: Ibe29eb643ee27bc4223868a76acfa4f0cfc1f74e
---
 gnu/packages/tex.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 2c25949637..e6914e5ced 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -58100,7 +58100,11 @@ (define-public texlive-kpathsea
                                "web2c/mktexupd")
                   (("^version=" m)
                    (format #false "PATH=\"~{~a:~}$PATH\"; export PATH~%~a"
-                           dirs m)))))))))
+                           dirs m))))))
+          (add-after 'unpack 'enable-all-configurations
+            (lambda _
+              (substitute* "web2c/fmtutil.cnf"
+                (("^#! ") "")))))))
     (inputs (list gawk sed))
     (propagated-inputs (list texlive-libkpathsea)) ;for the executables
     (home-page "https://ctan.org/pkg/kpathsea")
-- 
2.45.2