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

Change-Id: I4183b1bd6a7d699fc5a802b6da0330664f2f524b
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 91ff741c25..999d832fc6 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -15652,7 +15652,17 @@ Cosmetica font, which is a similar design to Optima and includes Greek.")
                 "00nmqhfckrf8ygw6i93d5xnf85i8a88ryadb5ml73w4rllwjxr72"))))
     (outputs '("out" "doc"))
     (build-system texlive-build-system)
-    (arguments (list #:create-formats #~(list "eplain")))
+    (arguments
+     (list #:create-formats #~(list "eplain")
+           #: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 "eplain"))))))))
     (propagated-inputs
      (list texlive-atbegshi
            texlive-atveryend