Hi! Le Sun, 4 Sep 2016 16:50:48 +0200, David Craven <da...@craven.ch> a écrit :
> > IIUC, to provide a Guix package for Cargo, the following should be > > done: > > > 1. write a crate importer. > > 2. list all the crates needed by Cargo to build itself. > > 3. package each crate with the importer. > > 4. add a Cargo package which depends on the newly-imported crates > > and uses a binary version of Cargo to bootstrap itself (though this > > is not the best option in terms of auditing/reproducibility). > > Have you made any progress on this? =) Unfortunately no. Bandwith is a little bit low ATM :-( I sent an updated version of the Rust package, taking into account the suggestions from the original version. > FYI I also think that that's the best course of action. I remember > dealing with non gnu-build-system packages in nixos was a bit of a > pain, so I was biased against the importer thing. I think guix does a > better job at it... > > To build the crates needed to build cargo a good idea is probably to > have rust-build-system take a #:cargo and a #:rustc package. Then you > can pass the binary versions for bootstrapping cargo. Thanks for the suggestion. Best regards, -- ELB