summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-07-18 00:14:04 +0200
committerLudovic Courtès <ludo@gnu.org>2015-07-18 00:14:04 +0200
commit3b307162e892e0050836434b12e14376758419cc (patch)
treef7bcd0d20930a79186a94e80f65372204100f978 /guix
parent13f0c6ed4147d381e7b5e4601a50fe9f997d0ca5 (diff)
publish: Write hashes in nix-base32 format.
* guix/scripts/publish.scm (narinfo-string): Use 'bytevector->nix-base32-string', not 'bytevector->base32-string'.
Diffstat (limited to 'guix')
-rw-r--r--guix/scripts/publish.scm2
1 files changed, 1 insertions, 1 deletions
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