From 3b307162e892e0050836434b12e14376758419cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 18 Jul 2015 00:14:04 +0200 Subject: [PATCH] publish: Write hashes in nix-base32 format. * guix/scripts/publish.scm (narinfo-string): Use 'bytevector->nix-base32-string', not 'bytevector->base32-string'. --- guix/scripts/publish.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/scripts/publish.scm b/guix/scripts/publish.scm index 7bad2619b9..e0226f35ee 100644 --- a/guix/scripts/publish.scm +++ b/guix/scripts/publish.scm @@ -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