From: Timotej Lazar <timotej.lazar@araneo.si>
To: 58920@debbugs.gnu.org
Cc: Timotej Lazar <timotej.lazar@araneo.si>
Subject: [bug#58920] [PATCH 1/2] build-system/scons: Allow using a G-exp for scons-flags.
Date: Mon, 31 Oct 2022 10:39:28 +0100 [thread overview]
Message-ID: <20221031093929.23368-1-timotej.lazar@araneo.si> (raw)
In-Reply-To: <20221031093659.20182-1-timotej.lazar@araneo.si>
* guix/build-system/scons.scm (scons-build): Only call sexp->gexp on
scons-flags when scons-flags is a pair.
---
guix/build-system/scons.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/guix/build-system/scons.scm b/guix/build-system/scons.scm
index e38213e8e0..7a02fa8a0f 100644
--- a/guix/build-system/scons.scm
+++ b/guix/build-system/scons.scm
@@ -100,7 +100,9 @@ (define builder
#$(with-build-variables inputs outputs
#~(scons-build #:name #$name
#:source #+source
- #:scons-flags #$(sexp->gexp scons-flags)
+ #:scons-flags #$(if (pair? scons-flags)
+ (sexp->gexp scons-flags)
+ scons-flags)
#:system #$system
#:build-targets #$build-targets
#:test-target #$test-target
--
2.38.0
next prev parent reply other threads:[~2022-10-31 9:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-31 9:36 [bug#58920] [PATCH 0/2] Update endless-sky Timotej Lazar
2022-10-31 9:39 ` Timotej Lazar [this message]
2022-10-31 9:39 ` [bug#58920] [PATCH 2/2] gnu: endless-sky: Update to 0.9.16.1, use new package style Timotej Lazar
2022-11-03 17:50 ` [bug#58920] [PATCH 0/2] Update endless-sky Christopher Baines
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=20221031093929.23368-1-timotej.lazar@araneo.si \
--to=timotej.lazar@araneo.si \
--cc=58920@debbugs.gnu.org \
/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).