[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sha256: base32 VS nix-base32
From: |
HiPhish |
Subject: |
Re: sha256: base32 VS nix-base32 |
Date: |
Sun, 09 Sep 2018 12:34:17 +0200 |
Thanks, that answers my question then. Maybe it would be worth adding a note
in the manual for future users?
On Sonntag, 9. September 2018 12:26:57 CEST you wrote:
> Hi,
>
> HiPhish <address@hidden> skribis:
> > When using `guix download` and `guix hash` there are (among other) the
> > formats `nix-base32` and `base32`. It appears that when writing a package
> > definition I have to use the former with the `(base32 "...")` expression.
> > This really confused be because I thought that "base32" means "base32" on
> > both sides. What is the deal with this?
>
> Package definitions expect a nix-base32-formatted string, even though
> the macro is called ‘base32’ and not ‘nix-base32’. Internally Guix uses
> ‘nix-base32’ exclusively so you shouldn’t have to worry about it.
>
> HTH,
> Ludo’.