From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 72873@debbugs.gnu.org
Cc: ngraves@ngraves.fr
Subject: [bug#72873] [PATCH 3/4] gnu: scilab: Fix the scilab build script.
Date: Thu, 29 Aug 2024 18:25:45 +0200 [thread overview]
Message-ID: <20240829162554.28746-3-ngraves@ngraves.fr> (raw)
In-Reply-To: <20240829162554.28746-1-ngraves@ngraves.fr>
* 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
---
gnu/packages/maths.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index a211121375..48a22bb6a1 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -9907,6 +9907,7 @@ (define-public scilab
autoconf-archive
automake
bison
+ coreutils-minimal
eigen
flex
gfortran
@@ -10014,6 +10015,10 @@ (define-public scilab
(("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")
--
2.45.2
next prev parent reply other threads:[~2024-08-29 16:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-29 15:06 [bug#72873] [PATCH 0/4] scilab: Update to 2024.1.0 Nicolas Graves via Guix-patches via
2024-08-29 16:25 ` [bug#72873] [PATCH 1/4] gnu: " Nicolas Graves via Guix-patches via
2024-08-29 16:25 ` [bug#72873] [PATCH 2/4] gnu: scilab: Cleanup more files Nicolas Graves via Guix-patches via
2024-08-29 16:25 ` Nicolas Graves via Guix-patches via [this message]
2024-08-29 16:25 ` [bug#72873] [PATCH 4/4] gnu: scilab: Add sanity-check phase Nicolas Graves via Guix-patches via
2024-10-04 19:28 ` bug#72873: [PATCH 0/4] scilab: Update to 2024.1.0 Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240829162554.28746-3-ngraves@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=72873@debbugs.gnu.org \
--cc=ngraves@ngraves.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).