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

Change-Id: I7924933a858526b2ffa1177ba29f916da99e3335
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tex.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 813a9ccad3..649ea56481 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -44970,7 +44970,14 @@ LaTeX packages use of @samp{@@@@}) in nested package files.")
                  (lambda _
                    (substitute* "source/platex/base/plfmt.ins"
                      (("\\\\keepsilent\n" all)
-                      (string-append all "\\askforoverwritefalse\n"))))))))
+                      (string-append all "\\askforoverwritefalse\n")))))
+               (add-after 'install 'symlink-binaries
+                 (lambda* (#:key inputs #:allow-other-keys)
+                   (let ((euptex (search-input-file inputs "bin/euptex"))
+                         (bin (string-append #$output "/bin")))
+                     (mkdir-p bin)
+                     (with-directory-excursion bin
+                       (symlink euptex "platex"))))))))
     (propagated-inputs
      (list texlive-atbegshi
            texlive-atveryend