all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] build-system: cargo: Add #:cargo-build-flags keyword argument.
@ 2017-01-03  2:44 Danny Milosavljevic
  2017-01-03  2:51 ` [PATCH v2] " Danny Milosavljevic
  0 siblings, 1 reply; 8+ messages in thread
From: Danny Milosavljevic @ 2017-01-03  2:44 UTC (permalink / raw)
  To: guix-devel

* 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" "--frozen"))
                       (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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-01-04 20:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-03  2:44 [PATCH] build-system: cargo: Add #:cargo-build-flags keyword argument Danny Milosavljevic
2017-01-03  2:51 ` [PATCH v2] " Danny Milosavljevic
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

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.