guix-commits
[Top][All Lists]
Advanced

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

36/37: gnu: texlive-latex-tools: Provide array-2016-10-06.sty.


From: guix-commits
Subject: 36/37: gnu: texlive-latex-tools: Provide array-2016-10-06.sty.
Date: Sat, 5 Jun 2021 18:17:03 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit bf84be15a8ccb3cd16a9fa61bf58394980790448
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon May 24 21:50:03 2021 +0200

    gnu: texlive-latex-tools: Provide array-2016-10-06.sty.
    
    * 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 0a5887a..39cc4e9 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3268,7 +3268,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



reply via email to

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