Nikita Karetnikov <[email protected]> skribis:
>> So you can either temporarily modify build-aux/download.scm to point to
>> fdn.fr/..., or download the file in question by hand and check its hash
>> against the one that’s in Makefile.am.
>
> Please append '-linux' to the following:
>
> <http://www.fdn.fr/~lcourtes/software/guix/packages/mips64el>.
Done, sorry about that!
> By the way, can we change 'Makefile.am' not to download unnecessary
> Guile binaries?
Should be possible. The thing is, ‘make dist’ should always bundle
everything. Another complication is that on x86_64 it’s interesting to
have both i686 and x86_64 binaries...
> Also, I used the wrong command (i.e., 'nix-hash --type sha256 --base32')
> to compute the hashes in 'bootstrap.scm'.
> 'nix-hash --type sha256 --flat --base32' should be used instead.
Indeed.
Note that you can also do:
--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> (use-modules (guix utils) (guix base32))
scheme@(guile-user)> (use-modules (rnrs io ports))
scheme@(guile-user)> (call-with-input-file "bootstrap/i686-linux/mkdir"
(compose bytevector->nix-base32-string sha256
get-bytevector-all))
$3 = "13ls4166y7gnykfphzmr0y7pn8kyikp5px4prnnhj1jyk5vhdgfm"
--8<---------------cut here---------------end--------------->8---
Granted, it’s more verbose. :-)
Maybe we need a command-line interface to that?
Ludo’.