gnu: texlive-csplain: Create missing symlinks.

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

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

View file

@ -61289,7 +61289,19 @@ (define-public texlive-csplain
(properties '((updater-extra-native-inputs "texlive-xetex")))
(build-system texlive-build-system)
(arguments
(list #:create-formats #~(list "csplain" "luacsplain" "pdfcsplain")))
(list #:create-formats #~(list "csplain" "luacsplain" "pdfcsplain")
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'symlink-binaries
(lambda* (#:key inputs #:allow-other-keys)
(let ((pdftex (search-input-file inputs "bin/pdftex"))
(luatex (search-input-file inputs "bin/luatex"))
(bin (string-append #$output "/bin")))
(mkdir-p bin)
(with-directory-excursion bin
(symlink pdftex "csplain")
(symlink pdftex "pdfcsplain")
(symlink luatex "luacsplain"))))))))
(native-inputs (list texlive-xetex))
(propagated-inputs
(list texlive-cm