publish: Write hashes in nix-base32 format.
* guix/scripts/publish.scm (narinfo-string): Use 'bytevector->nix-base32-string', not 'bytevector->base32-string'.
This commit is contained in:
parent
13f0c6ed41
commit
3b307162e8
|
@ -143,7 +143,7 @@ Publish ~a over HTTP.\n") %store-directory)
|
|||
"Generate a narinfo key/value string for STORE-PATH using the details in
|
||||
PATH-INFO. The narinfo is signed with KEY."
|
||||
(let* ((url (string-append "nar/" (basename store-path)))
|
||||
(hash (bytevector->base32-string
|
||||
(hash (bytevector->nix-base32-string
|
||||
(path-info-hash path-info)))
|
||||
(size (path-info-nar-size path-info))
|
||||
(references (string-join
|
||||
|
|
Loading…
Reference in New Issue