On Thu, 27 Feb 2025 19:16:39 +0800, Hilton Chain wrote: > > > > > I have modified cargo2guix to support git checkouts but commented it > > > > out due to > > > > lack of cargo-build-system support. > > > > > > Looking at guix/build/cargo-build-system, the "easiest" option would be > > > to take the git-checkout and then turn it into a .tar.gz. Otherwise > > > crate-src? and 'configure would need to be adjusted to handle git > > > checkouts. > > > > Will do, I actually looked at this but stopped after knowing > > cargo-build-system > > doesn't support Cargo workspaces. > > > > Just found out that Cargo workspaces can be packaged with: > > --8<---------------cut here---------------start------------->8--- > > RUSTC_BOOTSTRAP=1 cargo package --workspace --registry crates-io -Z > > package-workspace > > --8<---------------cut here---------------end--------------->8--- > > > > I'll look into Cargo workspaces support too. > > It works, I'll try to reorganize cargo-build-system in a new branch, since > this > will be incompatible with current Guix and requires more effort.
Cargo workspace support! https://git.boiledscript.com/hako/guix/commits/branch/cargo Two build system arguments are added for the support, without compatibility issue I think (test needed), I'll remove the importer-related commits on this branch and tweak this more tomorrow.