Hi, On Tue, 28 Jun 2022 at 18:49, Akib Azmain Turja <[email protected]> wrote:
> Just out of curiosity, why the hash is > pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq? Is this the hash > of the channel declaration/definition/whatsoever? --8<---------------cut here---------------start------------->8--- $ guix repl GNU Guile 3.0.8 Copyright (C) 1995-2021 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guix-user)> ,use(rnrs bytevectors) scheme@(guix-user)> ,use(gcrypt hash) scheme@(guix-user)> (define url "https://git.savannah.gnu.org/git/guix.git") scheme@(guix-user)> (bytevector->base32-string (sha256 (string->utf8 url))) $1 = "pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq" --8<---------------cut here---------------end--------------->8--- >From ’url-cache-directory’ in (guix git) [1]. 1: <https://git.savannah.gnu.org/cgit/guix.git/tree/guix/git.scm#n125> Cheers, simon
