diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2017-03-03 18:17:28 +0100 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2017-03-17 16:48:08 +0100 |
commit | 25fb58a3bee583b0ed4e0ad32fb28f420d8099cd (patch) | |
tree | 18bb73a3b3382b1358e044790911d472034488ba | |
parent | 893bc3f402588654121499738c1ec42da8a15841 (diff) | |
download | patches-25fb58a3bee583b0ed4e0ad32fb28f420d8099cd.tar patches-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.
-rw-r--r-- | guix/build-system/cargo.scm | 3 |
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 |