guix-commits
[Top][All Lists]
Advanced

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

04/11: gnu: scilab: Fix the scilab build script.


From: guix-commits
Subject: 04/11: gnu: scilab: Fix the scilab build script.
Date: Fri, 4 Oct 2024 17:04:15 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 8570fccfa78ab8a0c925b73494b055378fa57163
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Thu Aug 29 18:25:45 2024 +0200

    gnu: scilab: Fix the scilab build script.
    
    * gnu/packages/maths.scm (scilab):
    [arguments]<#:phases>: Reintroduce a manual patch for /bin/ls in phase
    pre-build. This is necessary because the file is used when scilab
    builds macros, even if it is discarded later.
    [inputs]: Add coreutils-minimal.
    
    Change-Id: I692fd6696273bfdce0e50b0f688a60e7dc289ce6
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/maths.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 5723655005..ba49edb0c3 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -9966,6 +9966,7 @@ computation is supported via MPI.")
            autoconf-archive
            automake
            bison
+           coreutils-minimal
            eigen
            flex
            gfortran
@@ -10073,6 +10074,10 @@ computation is supported via MPI.")
                     (("PROGNAME.*") "\n")))))
             (add-before 'build 'pre-build
               (lambda* (#:key inputs #:allow-other-keys)
+                ;; Fix scilab script.
+                (substitute* "bin/scilab"
+                  (("/bin/ls")
+                   (search-input-file inputs "bin/ls")))
                 ;; Fix core.start.
                 (substitute* "modules/core/etc/core.start"
                   (("'SCI/modules")



reply via email to

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