guix-patches
[Top][All Lists]
Advanced

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

[bug#56729] [RFC PATCH v3 24/32] gnu: maxima: Install maxima.fas.


From: vicvbcun
Subject: [bug#56729] [RFC PATCH v3 24/32] gnu: maxima: Install maxima.fas.
Date: Mon, 29 May 2023 22:38:33 +0200

This will be required by the eventual sagemath package.

* gnu/packages/maths.scm (maxima)[arguments]<#:phases> {'install-fas}: New
phase.
---
 gnu/packages/maths.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 1c98e842de..91027e9885 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -4442,6 +4442,10 @@ (define-public maxima
                (wrap-program (string-append out "/bin/maxima")
                  `("PATH" prefix (,binutils))))
              #t))
+         (add-after 'install 'install-fas
+           (lambda* (#:key outputs #:allow-other-keys)
+             (install-file "src/binary-ecl/maxima.fas"
+                           (string-append (assoc-ref outputs "out") 
"/lib/maxima/" ,version "/binary-ecl"))))
          ;; The Maxima command ‘describe’ allows picking the relevant portions
          ;; from Maxima’s Texinfo docs.  However it does not support reading
          ;; gzipped info files.
-- 
2.40.1






reply via email to

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