ngz pushed a commit to branch tex-team
in repository guix.

commit 07380fb0560ff4886a8bacf3b2268cf6e773f083
Author: Nicolas Goaziou <m...@nicolasgoaziou.fr>
AuthorDate: Sun Jun 23 11:20:09 2024 +0200

    gnu: texlive-mltex: Create missing symlinks.
    
    * gnu/packages/tex.scm (texlive-mltex)[arguments]<#:phases>: Create missing
    symlinks.
    
    Change-Id: I05c7aa88aee42f01fea96bd36a173fa494d54d6d
---
 gnu/packages/tex.scm | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 0c335685c2..563eee092e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -27062,7 +27062,18 @@ avoids the spindliness of most other Type 1 versions 
of Computer Modern.")
                 "1ip0q5kqj6bg4jkginzljknbrd74ss4iky2gvlmf8nnrq06n89my"))))
     (outputs '("out" "doc"))
     (build-system texlive-build-system)
-    (arguments (list #:create-formats #~(list "mllatex" "mltex")))
+    (arguments
+     (list #:create-formats #~(list "mllatex" "mltex")
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'install 'symlink-binaries
+                 (lambda* (#:key inputs #:allow-other-keys)
+                   (let ((pdftex (search-input-file inputs "bin/pdftex"))
+                         (bin (string-append #$output "/bin")))
+                     (mkdir-p bin)
+                     (with-directory-excursion bin
+                       (symlink pdftex "mllatex")
+                       (symlink pdftex "mltex"))))))))
     (propagated-inputs
      (list texlive-atbegshi
            texlive-atveryend

Reply via email to