aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2024-06-23 11:18:08 +0200
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:45:38 +0200
commit989343302308ce00b7c38916bf560fd8424fdc9e (patch)
tree55d46718adae1a14e281f02e1930bc9e02defe51
parent90fa6f1105d087aeaf5aed655b2fc42d20d161b0 (diff)
downloadguix-989343302308ce00b7c38916bf560fd8424fdc9e.tar.gz
guix-989343302308ce00b7c38916bf560fd8424fdc9e.zip
gnu: texlive-mex: Create missing symlinks.
* gnu/packages/tex.scm (texlive-mex)[arguments]<#:phases>: Create missing symlinks. Change-Id: I434db9503f3c04aeb27b0daf712cf45187d140a6
-rw-r--r--gnu/packages/tex.scm14
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 42a79ebecc..d9fbf514fc 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -26680,7 +26680,19 @@ with symbols, giving automatic alignment.")
"0kc766cvvbcqrj60ncz4a105nrn454y5c2330y7s7jzh45dx8qsi"))))
(outputs '("out" "doc"))
(build-system texlive-build-system)
- (arguments (list #:create-formats #~(list "mex" "pdfmex" "utf8mex")))
+ (arguments
+ (list #:create-formats #~(list "mex" "pdfmex" "utf8mex")
+ #: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 "mex")
+ (symlink pdftex "pdfmex")
+ (symlink pdftex "utf8mex"))))))))
(propagated-inputs
(list texlive-enctex
texlive-hyphen-complete