summary refs log tree commit diff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2024-06-23 11:39:01 +0200
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:45:38 +0200
commit90fa6f1105d087aeaf5aed655b2fc42d20d161b0 (patch)
treee3f0f6a20e73eea3a37ee7259c4843151df258ef /gnu/packages/tex.scm
parent01a33939c54cf5bc3bb22e2207925f510b288291 (diff)
downloadguix-90fa6f1105d087aeaf5aed655b2fc42d20d161b0.tar.gz
gnu: texlive-lollipop: Create missing symlink.
* gnu/packages/tex.scm (texlive-lollipop)[arguments]<#:phases>: Create missing
symlink.
[propagated-inputs]: Add TEXLIVE-TEX.

Change-Id: Id147f8b2210193df5b2b4e9de3bfa0ec3b39f431
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r--gnu/packages/tex.scm14
1 files changed, 12 insertions, 2 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 999d832fc6..42a79ebecc 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -24639,8 +24639,18 @@ symbol variants more suited to work in logic.")
                 "0xdldlnhsr2n8544j9vd6gllin8bfkpcbhlpmxlhrvjl5bdg0rjp"))))
     (outputs '("out" "doc"))
     (build-system texlive-build-system)
-    (arguments (list #:create-formats #~(list "lollipop")))
-    (propagated-inputs (list texlive-cm texlive-hyphen-base))
+    (arguments
+     (list #:create-formats #~(list "lollipop")
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'install 'symlink-binaries
+                 (lambda* (#:key inputs #:allow-other-keys)
+                   (let ((tex (search-input-file inputs "bin/tex"))
+                         (bin (string-append #$output "/bin")))
+                     (mkdir-p bin)
+                     (with-directory-excursion bin
+                       (symlink tex "lollipop"))))))))
+    (propagated-inputs (list texlive-cm texlive-hyphen-base texlive-tex))
     (home-page "https://ctan.org/pkg/lollipop")
     (synopsis "TeX made easy")
     (description