From: Hilton Chain via Guix-patches via <guix-patches@gnu.org>
To: dan <i@dan.games>
Cc: 65107@debbugs.gnu.org
Subject: [bug#65107] [PATCH] gnu: Add gf.
Date: Mon, 07 Aug 2023 09:58:24 +0800 [thread overview]
Message-ID: <874jlbwr3z.wl-hako@ultrarare.space> (raw)
In-Reply-To: <87v8ds4425.wl-hako@ultrarare.space>
On Sun, 06 Aug 2023 22:51:30 +0800,
Hilton Chain wrote:
> Can you move these flags to #:make-flags?
>
> For example:
> --8<---------------cut here---------------start------------->8---
> (arguments
> (list [...]
> #:make-flags
> #~(list "-g" "-O2" [...])
> #:phases
> #~(modify-phases %standard-phases
> (replace 'build
> (lambda* (#:key make-flags #:allow-other-keys)
> (apply invoke
> `(#$(cxx-for-target) "gf2.cpp" "-o" "gf2"
> ,@make-flags)))))))
> --8<---------------cut here---------------end--------------->8---
Sorry, `quasiquote' is not necessary here because `apply' accepts one
list for the last argument and the above code just makes a list. The
`apply' invocation I wrote should be replaced to:
--8<---------------cut here---------------start------------->8---
(apply invoke
#$(cxx-for-target) "gf2.cpp" "-o" "gf2"
make-flags)
--8<---------------cut here---------------end--------------->8---
Thanks
next prev parent reply other threads:[~2023-08-07 2:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-06 5:52 [bug#65107] [PATCH] gnu: Add gf dan
2023-08-06 14:51 ` Hilton Chain via Guix-patches via
2023-08-07 1:58 ` Hilton Chain via Guix-patches via [this message]
2023-08-08 1:57 ` [bug#65107] [PATCH v2] " dan
2023-08-16 14:23 ` Hilton Chain 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=874jlbwr3z.wl-hako@ultrarare.space \
--to=guix-patches@gnu.org \
--cc=65107@debbugs.gnu.org \
--cc=hako@ultrarare.space \
--cc=i@dan.games \
/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.