[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sha256: base32 VS nix-base32
From: |
Ludovic Courtès |
Subject: |
Re: sha256: base32 VS nix-base32 |
Date: |
Sun, 09 Sep 2018 12:26:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
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’.