mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ (define (narinfo-string store-path path-info key)
|
||||||
"Generate a narinfo key/value string for STORE-PATH using the details in
|
"Generate a narinfo key/value string for STORE-PATH using the details in
|
||||||
PATH-INFO. The narinfo is signed with KEY."
|
PATH-INFO. The narinfo is signed with KEY."
|
||||||
(let* ((url (string-append "nar/" (basename store-path)))
|
(let* ((url (string-append "nar/" (basename store-path)))
|
||||||
(hash (bytevector->base32-string
|
(hash (bytevector->nix-base32-string
|
||||||
(path-info-hash path-info)))
|
(path-info-hash path-info)))
|
||||||
(size (path-info-nar-size path-info))
|
(size (path-info-nar-size path-info))
|
||||||
(references (string-join
|
(references (string-join
|
||||||
|
|
Loading…
Reference in a new issue