gnu: texlive-jadetex: Small refactoring.

* gnu/packages/tex.scm (texlive-jadetex)[arguments]<#:phases>: Small refactoring.

Change-Id: Idfce791bd7f3b0a1c5ce509ef90ddb9044c78ee3
This commit is contained in:
Nicolas Goaziou 2024-06-23 11:28:00 +02:00 committed by Ludovic Courtès
parent 6fcf1d0943
commit c93f361c03
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -70379,12 +70379,11 @@ (define-public texlive-jadetex
(add-after 'install 'install-wrappers
(lambda* (#:key inputs #:allow-other-keys)
(let ((pdftex (search-input-file inputs "/bin/pdftex"))
(web2c (string-append #$output "/share/texmf-dist/web2c")))
(mkdir-p (string-append #$output "/bin"))
(symlink pdftex
(string-append #$output "/bin/jadetex"))
(symlink pdftex
(string-append #$output "/bin/pdfjadetex"))))))))
(bin (string-append #$output "/bin")))
(mkdir-p bin)
(with-directory-excursion bin
(symlink pdftex "jadetex")
(symlink pdftex "pdfjadetex"))))))))
(propagated-inputs
(list texlive-amsfonts
texlive-atbegshi