gnu: texlive-amstex: Create missing symlink.

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

Change-Id: Ibd71612febb0e7768e43f432bd3e71af82e39634
This commit is contained in:
Nicolas Goaziou 2024-06-23 11:00:16 +02:00 committed by Ludovic Courtès
parent 4ab789d441
commit 108c954300
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -3015,7 +3015,17 @@ (define-public texlive-amstex
"01yh10g2wwa58q151aqg246bsclks25qvd8axc1v799v37wlgqn3"))))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(arguments (list #:create-formats #~(list "amstex")))
(arguments
(list #:create-formats #~(list "amstex")
#: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 "amstex"))))))))
(propagated-inputs
(list texlive-amsfonts
texlive-cm