gnu: texlive-optex: Create missing symlink.

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

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

View file

@ -71830,7 +71830,17 @@ (define-public texlive-optex
"0bcrj9wrimcd2pxrcfk7x3vkhxzij4422l19a8j4h299lkq3pbx0"))))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(arguments (list #:create-formats #~(list "optex")))
(arguments
(list #:create-formats #~(list "optex")
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'symlink-binaries
(lambda* (#:key inputs #:allow-other-keys)
(let ((luatex (search-input-file inputs "bin/luatex"))
(bin (string-append #$output "/bin")))
(mkdir-p bin)
(with-directory-excursion bin
(symlink luatex "optex"))))))))
(propagated-inputs
(list texlive-amsfonts
texlive-cm