From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH 5/7] gnu: Add rustc-bootstrap. Date: Tue, 04 Oct 2016 13:55:04 +0000 Message-ID: <87twcsw75z.fsf@we.make.ritual.n0.is> References: <20160928151538.11679-1-david@craven.ch> <20160928151538.11679-5-david@craven.ch> <871szwebjn.fsf@gnu.org> <87y424zdfi.fsf@we.make.ritual.n0.is> <8737kc9s6a.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brQCG-0004k8-UG for guix-devel@gnu.org; Tue, 04 Oct 2016 09:55:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brQCE-00069x-QD for guix-devel@gnu.org; Tue, 04 Oct 2016 09:55:51 -0400 In-Reply-To: <8737kc9s6a.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Courtès writes: > ng0 skribis: > >> I don't know what rust-beta-* is, but the rust package I created did not >> use unversioned files. > > Cool! (Did you submit your own Rust package?) Yes, search the guix-devel archives for the first rust patches in beginning of 2016, I went as far as I could at that point and that's how probably everyone else started off based on that work. >> There are versioned files, but afaik not in beta. For bootstrap I had >> this (though it could be that this is already Jelle's work based on my >> work): >> >> (define (archive-name version platform checksum) >> (string-append "rust-stage0-" version "-" platform "-" checksum ".tar.bz2")) >> >> (define rust-stage0-bootstrap-x86_64-archive >> (archive-name "2016-02-17-4d3eebf" "linux-x86_64" "d29b7607d13d64078b6324aec82926fb493f59ba")) >> >> (define rust-stage0-bootstrap-x86_64 >> (origin >> (method url-fetch) >> (uri >> (string-append "https://static.rust-lang.org/stage0-snapshots/" rust-stage0-bootstrap-x86_64-archive)) >> (sha256 >> (base32 >> "0gk87rknijyirlhw3h34bjxzq98j0v0icp3l8flrxn5pgil8pswd")))) >> >> (define rust-stage0-bootstrap-i386-archive >> (archive-name "2016-02-17-4d3eebf" "linux-i386" "5f194aa7628c0703f0fd48adc4ec7f3cc64b98c7")) >> >> (define rust-stage0-bootstrap-i386 >> (origin >> (method url-fetch) >> (uri >> (string-append "https://static.rust-lang.org/stage0-snapshots/" rust-stage0-bootstrap-i386-archive)) >> (sha256 >> (base32 >> "16fd2hmli86g1q3fyicdhh2l4aqryzxcij7sk1pljig8dr2m8hg5")))) > > That looks good. > > I was also going to suggest adding support for i386, which could have > happened later, but I’m glad you’re providing guidance here! > > Ludo’. > Do you want me to submit the entire file for context? It's just what jelle ended up with, I no longer have this online in public searchable format. Okay turns out my old repo (moving to gnunet.org slowly) is still existing and public accessible. https://gitlab.com/secushare/guixpkgs/blob/master/n0is/packages/rust.scm