diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index c55773bf9d..91ff741c25 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -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