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.
This commit is contained in:
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

View file

@ -64,7 +64,7 @@ (define* (cargo-build store name inputs
#: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 @@ (define builder
source))
#:system ,system
#:test-target ,test-target
#:cargo-build-flags ,cargo-build-flags
#:tests? ,tests?
#:phases ,phases
#:outputs %outputs