gnu: texlive-mltex: Create missing symlinks.

* gnu/packages/tex.scm (texlive-mltex)[arguments]<#:phases>: Create missing
symlinks.

Change-Id: I05c7aa88aee42f01fea96bd36a173fa494d54d6d
This commit is contained in:
Nicolas Goaziou 2024-06-23 11:20:09 +02:00 committed by Ludovic Courtès
parent 9893433023
commit 669355634d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -27062,7 +27062,18 @@ (define-public texlive-mltex
"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