diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2024-08-29 18:25:45 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-10-04 19:43:39 +0200 |
commit | 8570fccfa78ab8a0c925b73494b055378fa57163 (patch) | |
tree | 574fb9751b930d77555ac9e74fda4753b059142a | |
parent | e6391ceb1ee7d400c263afafe317f4e585976716 (diff) | |
download | guix-8570fccfa78ab8a0c925b73494b055378fa57163.tar guix-8570fccfa78ab8a0c925b73494b055378fa57163.tar.gz |
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>
-rw-r--r-- | gnu/packages/maths.scm | 5 |
1 files changed, 5 insertions, 0 deletions
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") |