summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2024-06-23 11:25:38 +0200
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:45:39 +0200
commit711b168c08d41ee9afdb746ca6d1a23e0bb2fa57 (patch)
tree6222afe442cc05d3d813034b947141a1a1143f07 /gnu
parent8cb8080a97d0219104d5655dd96973aed93e86e7 (diff)
downloadguix-711b168c08d41ee9afdb746ca6d1a23e0bb2fa57.tar.gz
gnu: texlive-texsis: Create missing symlink.
* gnu/packages/tex.scm (texlive-texsis)[arguments]<#:phases>: Create missing
symlink.

Change-Id: Iad8dc76aa53f6794aef3e282bd3de136deab3511
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tex.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index fca1cf38dd..2696c0799a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -36414,7 +36414,17 @@ produces.")
                 "1vdywyg03ab5w50370ml8hwiidim2sy7hhygmz917rnhsnm87lnv"))))
     (outputs '("out" "doc"))
     (build-system texlive-build-system)
-    (arguments (list #:create-formats #~(list "texsis")))
+    (arguments
+     (list #:create-formats #~(list "texsis")
+           #: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 "texsis"))))))))
     (propagated-inputs
      (list texlive-cm
            texlive-hyphen-base