From mboxrd@z Thu Jan 1 00:00:00 1970 From: HiPhish Subject: Re: sha256: base32 VS nix-base32 Date: Sun, 09 Sep 2018 12:34:17 +0200 Message-ID: <2266410.u2mMVqzJfJ@aleksandar-ixtreme-m5740> References: <4537179.Lupmsyrybr@aleksandar-ixtreme-m5740> <87tvmzc6fi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyx2y-00085u-2D for help-guix@gnu.org; Sun, 09 Sep 2018 06:34:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyx2w-0001xx-VJ for help-guix@gnu.org; Sun, 09 Sep 2018 06:34:27 -0400 Received: from mout01.posteo.de ([185.67.36.65]:41684) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fyx2w-0001sO-MI for help-guix@gnu.org; Sun, 09 Sep 2018 06:34:26 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 980BE20FE3 for ; Sun, 9 Sep 2018 12:34:18 +0200 (CEST) In-Reply-To: <87tvmzc6fi.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Cc: help-guix@gnu.org Thanks, that answers my question then. Maybe it would be worth adding a not= e=20 in the manual for future users? On Sonntag, 9. September 2018 12:26:57 CEST you wrote: > Hi, >=20 > HiPhish skribis: > > When using `guix download` and `guix hash` there are (among other) the > > formats `nix-base32` and `base32`. It appears that when writing a packa= ge > > definition I have to use the former with the `(base32 "...")` expressio= n. > > This really confused be because I thought that "base32" means "base32" = on > > both sides. What is the deal with this? >=20 > Package definitions expect a nix-base32-formatted string, even though > the macro is called =E2=80=98base32=E2=80=99 and not =E2=80=98nix-base32= =E2=80=99. Internally Guix uses > =E2=80=98nix-base32=E2=80=99 exclusively so you shouldn=E2=80=99t have to= worry about it. >=20 > HTH, > Ludo=E2=80=99.