From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Le Bihan Subject: Re: Rust Date: Wed, 7 Sep 2016 08:04:56 +0200 Message-ID: <20160907080456.3e11ff6a@itchy> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhVyu-0006sL-6K for guix-devel@gnu.org; Wed, 07 Sep 2016 02:05:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhVyo-0001LO-HB for guix-devel@gnu.org; Wed, 07 Sep 2016 02:05:08 -0400 Received: from smtp6-g21.free.fr ([2a01:e0c:1:1599::15]:9057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhVyo-0001LK-CN for guix-devel@gnu.org; Wed, 07 Sep 2016 02:05:02 -0400 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: David Craven Cc: guix-devel Hi! Le Sun, 4 Sep 2016 16:50:48 +0200, David Craven a =C3=A9crit : > > IIUC, to provide a Guix package for Cargo, the following should be > > done: =20 >=20 > > 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). =20 >=20 > Have you made any progress on this? =3D) 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... >=20 > 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,=20 --=20 ELB