|
From: | Ivan Petkov |
Subject: | [bug#38408] [PATCH] WIP patches for the rust importer |
Date: | Sun, 1 Dec 2019 20:01:26 -0800 |
Hi Martin!
Yes, this is the primary limitation of packaging rust crates into guix without manually needing to edit the Cargo.toml definition. My opinion is that the easiest (to maintain) method for incorporating rust packages into guix is to bite the bullet and perform a (source) import of all transitive dependencies that a package might need. Manually keeping up with tweaking the Cargo.toml file for every single potential package, across every single published version will make you go mad :) Then the challenge would be how to automate the incremental importing from crates.io (for example, some crates require a specific x.y.z version of a dependency, some are willing to work with x.y.*, some have ranges, etc.) and making sure that all packaged crates point to the appropriate dependencies as they get updated in guix. —Ivan |
[Prev in Thread] | Current Thread | [Next in Thread] |