~ruther/guix-local

3b307162e892e0050836434b12e14376758419cc — Ludovic Courtès 10 years ago 13f0c6e
publish: Write hashes in nix-base32 format.

* guix/scripts/publish.scm (narinfo-string): Use
  'bytevector->nix-base32-string', not 'bytevector->base32-string'.
1 files changed, 1 insertions(+), 1 deletions(-)

M guix/scripts/publish.scm
M guix/scripts/publish.scm => guix/scripts/publish.scm +1 -1
@@ 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