summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2024-06-23 11:20:09 +0200
committerChristopher Baines <mail@cbaines.net>2024-07-11 10:25:22 +0100
commit443197997b09e185c4e39853be0eaf00ecc64836 (patch)
tree41989bed18f72cd267680a8c55e23903624d105e
parentcb88011a52fb7a76279b7c639973986e263e7ee8 (diff)
downloadguix-patches-443197997b09e185c4e39853be0eaf00ecc64836.tar
guix-patches-443197997b09e185c4e39853be0eaf00ecc64836.tar.gz
gnu: texlive-mltex: Create missing symlinks.
* gnu/packages/tex.scm (texlive-mltex)[arguments]<#:phases>: Create missing symlinks. Change-Id: I05c7aa88aee42f01fea96bd36a173fa494d54d6d
-rw-r--r--gnu/packages/tex.scm13
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index d9fbf514fc..2bd98ab337 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -27062,7 +27062,18 @@ avoids the spindliness of most other Type 1 versions of Computer Modern.")
"1ip0q5kqj6bg4jkginzljknbrd74ss4iky2gvlmf8nnrq06n89my"))))
(outputs '("out" "doc"))
(build-system texlive-build-system)
- (arguments (list #:create-formats #~(list "mllatex" "mltex")))
+ (arguments
+ (list #:create-formats #~(list "mllatex" "mltex")
+ #: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 "mllatex")
+ (symlink pdftex "mltex"))))))))
(propagated-inputs
(list texlive-atbegshi
texlive-atveryend