gnu: texlive-platex: Create missing symlink.

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

Change-Id: I7924933a858526b2ffa1177ba29f916da99e3335
This commit is contained in:
Nicolas Goaziou 2024-06-23 11:23:26 +02:00 committed by Ludovic Courtès
parent e12e90fa74
commit 1ab84de0e5
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -44970,7 +44970,14 @@ (define-public texlive-platex
(lambda _
(substitute* "source/platex/base/plfmt.ins"
(("\\\\keepsilent\n" all)
(string-append all "\\askforoverwritefalse\n"))))))))
(string-append all "\\askforoverwritefalse\n")))))
(add-after 'install 'symlink-binaries
(lambda* (#:key inputs #:allow-other-keys)
(let ((euptex (search-input-file inputs "bin/euptex"))
(bin (string-append #$output "/bin")))
(mkdir-p bin)
(with-directory-excursion bin
(symlink euptex "platex"))))))))
(propagated-inputs
(list texlive-atbegshi
texlive-atveryend