From: Danny Milosavljevic <dannym@scratchpost.org>
To: guix-devel@gnu.org
Subject: [PATCH v2] build-system: cargo: Add #:cargo-build-flags keyword argument.
Date: Tue, 3 Jan 2017 03:51:03 +0100 [thread overview]
Message-ID: <20170103025103.8147-1-dannym@scratchpost.org> (raw)
In-Reply-To: <20170103024407.6928-1-dannym@scratchpost.org>
* guix/build-system/cargo.scm (cargo-build): Add #:cargo-build-flags keyword argument.
---
guix/build-system/cargo.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/guix/build-system/cargo.scm b/guix/build-system/cargo.scm
index ffc0afda3..011ea9c57 100644
--- a/guix/build-system/cargo.scm
+++ b/guix/build-system/cargo.scm
@@ -65,6 +65,7 @@ to NAME and VERSION."
(tests? #t)
(test-target #f)
(configure-flags #f)
+ (cargo-build-flags ''("--release"))
(phases '(@ (guix build cargo-build-system)
%standard-phases))
(outputs '("out"))
@@ -88,6 +89,7 @@ to NAME and VERSION."
(source
source))
#:system ,system
+ #:cargo-build-flags ,cargo-build-flags
#:test-target ,test-target
#:tests? ,tests?
#:phases ,phases
next prev parent reply other threads:[~2017-01-03 3:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-03 2:44 [PATCH] build-system: cargo: Add #:cargo-build-flags keyword argument Danny Milosavljevic
2017-01-03 2:51 ` Danny Milosavljevic [this message]
2017-01-03 4:01 ` WIP patch: build-system: cargo: Make lots and lots of rust packages work Danny Milosavljevic
2017-01-03 11:08 ` David Craven
2017-01-03 11:54 ` Danny Milosavljevic
2017-01-03 11:57 ` Danny Milosavljevic
2017-01-04 1:03 ` WIP v2: " Danny Milosavljevic
2017-01-04 20:19 ` WIP v3: " Danny Milosavljevic
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=20170103025103.8147-1-dannym@scratchpost.org \
--to=dannym@scratchpost.org \
--cc=guix-devel@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 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.