mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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:
parent
108c954300
commit
aba353b8fa
1 changed files with 13 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue