guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/05: publish: Write hashes in nix-base32 format.


From: Ludovic Courtès
Subject: 05/05: publish: Write hashes in nix-base32 format.
Date: Fri, 17 Jul 2015 22:25:51 +0000

civodul pushed a commit to branch master
in repository guix.

commit 3b307162e892e0050836434b12e14376758419cc
Author: Ludovic Courtès <address@hidden>
Date:   Sat Jul 18 00:14:04 2015 +0200

    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 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/guix/scripts/publish.scm b/guix/scripts/publish.scm
index 7bad261..e0226f3 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]