aboutsummaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2017-03-03 18:17:28 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2017-03-17 16:48:08 +0100
commit25fb58a3bee583b0ed4e0ad32fb28f420d8099cd (patch)
tree18bb73a3b3382b1358e044790911d472034488ba /guix
parent893bc3f402588654121499738c1ec42da8a15841 (diff)
downloadgnu-guix-25fb58a3bee583b0ed4e0ad32fb28f420d8099cd.tar
gnu-guix-25fb58a3bee583b0ed4e0ad32fb28f420d8099cd.tar.gz
build-system/cargo (cargo-build): Add cargo-build-flags, remove configure-flags.
* guix/build-system/cargo.scm (cargo-build): Add cargo-build-flags, remove configure-flags.
Diffstat (limited to 'guix')
-rw-r--r--guix/build-system/cargo.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/build-system/cargo.scm b/guix/build-system/cargo.scm
index 578c4446a4..c637fbb162 100644
--- a/guix/build-system/cargo.scm
+++ b/guix/build-system/cargo.scm
@@ -64,7 +64,7 @@ to NAME and VERSION."
#:key
(tests? #t)
(test-target #f)
- (configure-flags #f)
+ (cargo-build-flags ''("--release"))
(phases '(@ (guix build cargo-build-system)
%standard-phases))
(outputs '("out"))
@@ -89,6 +89,7 @@ to NAME and VERSION."
source))
#:system ,system
#:test-target ,test-target
+ #:cargo-build-flags ,cargo-build-flags
#:tests? ,tests?
#:phases ,phases
#:outputs %outputs