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.
master
Danny Milosavljevic 2017-03-03 18:17:28 +01:00
parent 893bc3f402
commit 25fb58a3be
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,7 @@ to NAME and VERSION."
#:key #:key
(tests? #t) (tests? #t)
(test-target #f) (test-target #f)
(configure-flags #f) (cargo-build-flags ''("--release"))
(phases '(@ (guix build cargo-build-system) (phases '(@ (guix build cargo-build-system)
%standard-phases)) %standard-phases))
(outputs '("out")) (outputs '("out"))
@ -89,6 +89,7 @@ to NAME and VERSION."
source)) source))
#:system ,system #:system ,system
#:test-target ,test-target #:test-target ,test-target
#:cargo-build-flags ,cargo-build-flags
#:tests? ,tests? #:tests? ,tests?
#:phases ,phases #:phases ,phases
#:outputs %outputs #:outputs %outputs