guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#48622] [PATCH core-updates 36/29] gnu: texlive-latex-tools: Provide


From: Marius Bakke
Subject: [bug#48622] [PATCH core-updates 36/29] gnu: texlive-latex-tools: Provide array-2016-10-06.sty.
Date: Mon, 24 May 2021 22:09:22 +0200

* gnu/packages/tex.scm (texlive-latex-tools)[arguments]: Add phase that makes
array.sty available with a different name.
---
 gnu/packages/tex.scm | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index f896725a82..3cf4e0df23 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3269,7 +3269,19 @@ files have changed.  It is based on MD5 checksum, 
provided by pdfTeX.")
     (build-system texlive-build-system)
     (arguments
      '(#:tex-directory "latex/tools"
-       #:build-targets '("tools.ins")))
+       #:build-targets '("tools.ins")
+       #:phases (modify-phases %standard-phases
+                  (add-after 'install 'provide-array-2016-10-06.sty
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      ;; XXX: array.sty does:
+                      ;;  "DeclareRelease{}{2016-10-06}{array-2016-10-06.sty}"
+                      ;; ...which causes some users (hypre) to look for that
+                      ;; file specifically.  Provide it.
+                      (with-directory-excursion (string-append
+                                                 (assoc-ref outputs "out")
+                                                 "/share/texmf-dist/tex"
+                                                 "/latex/tools")
+                        (symlink "array.sty" "array-2016-10-06.sty")))))))
     (home-page "https://www.ctan.org/pkg/latex-tools";)
     (synopsis "LaTeX standard tools bundle")
     (description
-- 
2.31.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]