|Subject:||[bug#38408] [PATCH] WIP patches for the rust importer|
|Date:||Tue, 3 Dec 2019 18:40:37 -0800|
All rust libs should be source only imports, but each package definition
should only declare dependencies on the crates it consumes directly and
guix should figure out the rest (in other words, I’d expect there to be a
one-to-one mapping between a Cargo.toml and a package definition).
For example, if crate foo depends on crate bar which depends on crate
baz, I’d expect the definitions to look like:
(source-input `((“bar” ,bar)))))
(source-input `((“baz” ,baz)))))
But while building foo (assuming it is some kind of application), guix
would ensure that bar and baz are available in the build environment.
IMO this direction would be the most maintainable in the long term.
|[Prev in Thread]||Current Thread||[Next in Thread]|