[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 5/7] gnu: Add rustc-bootstrap.
From: |
ng0 |
Subject: |
Re: [PATCH 5/7] gnu: Add rustc-bootstrap. |
Date: |
Tue, 04 Oct 2016 13:55:04 +0000 |
Ludovic Courtès <address@hidden> writes:
> ng0 <address@hidden> 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