ngz pushed a commit to branch tex-team-next
in repository guix.

commit b78f374a649483368be6e366901adcdfe644acaf
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Wed Jun 28 23:56:27 2023 +0200

    gnu: texlive-epstopdf: Add missing "repstopdf" symlink.
    
    * gnu/packages/tex.scm (texlive-epstopdf)[arguments]<#:phases>: Add missing
    "repstopdf" symlink.
---
 gnu/packages/tex.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index a1b7a0dfb2..311f47f3ab 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -2932,7 +2932,11 @@ of nodes and the styles of edges, may be adjusted.")
             (lambda* (#:key inputs #:allow-other-keys)
               (let ((gs (search-input-file inputs "/bin/gs")))
                 (substitute* "scripts/epstopdf/epstopdf.pl"
-                  (("\"gs\"") (string-append "\"" gs "\"")))))))))
+                  (("\"gs\"") (string-append "\"" gs "\""))))))
+          (add-after 'link-scripts 'add-repstopdf
+            (lambda _
+              (with-directory-excursion (string-append #$output "/bin")
+                (symlink "epstopdf" "repstopdf")))))))
     (home-page "https://ctan.org/pkg/epstopdf";)
     (synopsis "Convert EPS to PDF using Ghostscript")
     (inputs (list ghostscript perl))

Reply via email to