[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rust
From: |
David Craven |
Subject: |
Re: Rust |
Date: |
Sun, 4 Sep 2016 16:50:48 +0200 |
> 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? =)
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.
- Re: Rust,
David Craven <=