From 8570fccfa78ab8a0c925b73494b055378fa57163 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Thu, 29 Aug 2024 18:25:45 +0200 Subject: gnu: scilab: Fix the scilab build script. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- 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") -- cgit v1.2.3