diff options
author | Martin Becze <mjbecze@riseup.net> | 2020-02-03 16:19:49 -0500 |
---|---|---|
committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2020-12-02 22:09:23 +0100 |
commit | 50fbb3f032b46a565ca225daddf4eeb7c8edfab4 (patch) | |
tree | 646c3d62c5b5eec06e8a6a05f2e4ff0b7029fb88 /tests/crate.scm | |
parent | d9feb23e1044b59aaa457825ab5152eaf3bc8a68 (diff) | |
download | guix-50fbb3f032b46a565ca225daddf4eeb7c8edfab4.tar guix-50fbb3f032b46a565ca225daddf4eeb7c8edfab4.tar.gz |
import: crate: Parameterized importing of dev dependencies.
The recursive crate importer will now include development dependencies only
for the top level package, but not for any of the recursively imported
packages. Also #:skip-build will be false for the top-most package.
* guix/import/crate.scm (make-crate-sexp): Add the key BUILD?.
(crate->guix-package): Add the key INCLUDE-DEV-DEPS?.
(crate-recursive-import): Likewise.
* guix/scripts/import/crate.scm (guix-import-crate): Likewise.
* tests/crate.scm (cargo-recursive-import): Likewise.
Diffstat (limited to 'tests/crate.scm')
-rw-r--r-- | tests/crate.scm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/crate.scm b/tests/crate.scm index 4465e12767..b6cd577552 100644 --- a/tests/crate.scm +++ b/tests/crate.scm @@ -536,8 +536,7 @@ (? string? hash))))) (build-system cargo-build-system) (arguments - ('quasiquote (#:skip-build? #t - #:cargo-inputs + ('quasiquote (#:cargo-inputs (("rust-intermediate-a" ('unquote 'rust-intermediate-a-1.0.42)) ("rust-intermediate-b" |