|
From: | Jaeme Sifat |
Subject: | bug#68017: cargo-build-system should propagate inputs and native-inputs of dependencies |
Date: | Mon, 25 Dec 2023 02:45:56 -0500 |
User-agent: | Mozilla Thunderbird |
> NB: This is my first time packaging rust, so I may be wrong about stuff.The typical way of creating Rust crate definitions is to use `guix import crate <package-name-on-crates.io>' to obtain a template definition that you'd refine after building and testing the package. If the crate is not hosted on crates.io, then you would have to read the `Cargo.toml' file for build instructions. The guix import command also has a '--recursive' option to automate that process for all the dependencies of a crate as well. It's a repetitive process for sure, but you don't have to find out dependencies by build errors.
-- Jaeme
[Prev in Thread] | Current Thread | [Next in Thread] |