From: "ashish.is--- via Guix-patches" via <guix-patches@gnu.org>
To: 72173@debbugs.gnu.org
Cc: Ashish SHUKLA <ashish.is@lostca.se>
Subject: [bug#72173] [PATCH v2 2/2] guix: chicken-build-system: Update for 5.4.0.
Date: Thu, 25 Jul 2024 17:41:15 +0000 [thread overview]
Message-ID: <b9662a0b62eceb56545f9d199b1c51aa17c1271a.1721929275.git.ashish.is@lostca.se> (raw)
In-Reply-To: <a2cc7b416a4a87e086dd432c889b2f96270cbccb@dismail.de>
From: Ashish SHUKLA <ashish.is@lostca.se>
* guix/build/chicken-build-system (build): chdir to the directory containing
sources, and let chicken-install process the current directory.
(install): Switch to define as we do not need any keys.
(check): Remove unused egg-name from the arguments.
Change-Id: I4adf5e2378deab6e3f3b3c128c3cc75ce43f0e8a
---
guix/build/chicken-build-system.scm | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/guix/build/chicken-build-system.scm b/guix/build/chicken-build-system.scm
index 8f9f59cc25..fd5a33fd22 100644
--- a/guix/build/chicken-build-system.scm
+++ b/guix/build/chicken-build-system.scm
@@ -93,13 +93,14 @@ (define* (unpack #:key source egg-name unpack-path #:allow-other-keys)
(define* (build #:key egg-name #:allow-other-keys)
"Build the Chicken egg named by EGG-NAME"
- (invoke "chicken-install" "-cached" "-no-install" egg-name))
+ (chdir egg-name)
+ (invoke "chicken-install" "-cached" "-no-install"))
-(define* (install #:key egg-name #:allow-other-keys)
+(define (install . _)
"Install the already built egg named by EGG-NAME"
- (invoke "chicken-install" "-cached" egg-name))
+ (invoke "chicken-install" "-cached"))
-(define* (check #:key egg-name tests? #:allow-other-keys)
+(define* (check #:key tests? #:allow-other-keys)
"Build and run tests for the Chicken egg EGG-NAME"
;; there is no "-test-only" option, but we've already run install
;; so this just runs tests.
@@ -109,7 +110,7 @@ (define* (check #:key egg-name tests? #:allow-other-keys)
":"
(getenv "CHICKEN_REPOSITORY_PATH")))
(when tests?
- (invoke "chicken-install" "-cached" "-test" "-no-install" egg-name)))
+ (invoke "chicken-install" "-cached" "-test" "-no-install")))
(define* (stamp-egg-version #:key egg-name name #:allow-other-keys)
"Check if EGG-NAME.egg contains version information and add some if not."
--
2.45.2
next prev parent reply other threads:[~2024-07-25 17:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-18 8:59 [bug#72173] [PATCH] gnu: chicken: Update to 5.4.0 ashish.is--- via Guix-patches via
[not found] ` <f30b142a445930084072b99890c6a987@lostca.se>
2024-07-19 21:47 ` bug#72173: " jgart via Guix-patches via
2024-07-20 13:53 ` [bug#72173] " Ludovic Courtès
2024-07-20 15:43 ` jgart via Guix-patches via
2024-07-22 16:04 ` jgart via Guix-patches via
2024-07-22 21:08 ` Ashish via Guix-patches via
2024-07-22 21:34 ` jgart via Guix-patches via
2024-07-25 17:41 ` [bug#72173] [PATCH v2 0/2] " ashish.is--- via Guix-patches via
2024-07-25 17:41 ` [bug#72173] [PATCH v2 1/2] " ashish.is--- via Guix-patches via
2024-07-25 17:41 ` ashish.is--- via Guix-patches via [this message]
2024-07-25 20:48 ` [bug#72173] [PATCH] " jgart via Guix-patches via
2024-07-26 8:35 ` Ashish via Guix-patches via
2024-07-26 8:44 ` Ashish via Guix-patches via
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b9662a0b62eceb56545f9d199b1c51aa17c1271a.1721929275.git.ashish.is@lostca.se \
--to=guix-patches@gnu.org \
--cc=72173@debbugs.gnu.org \
--cc=ashish.is@lostca.se \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.