diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-06-01 23:29:55 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-06-03 22:39:26 +0200 |
commit | f9c7080aa3acafc6fb15fa1b304670acfe114704 (patch) | |
tree | 829e4d03cfdf500b722e5feb8a273847a1ebffe1 /guix.scm | |
parent | d0a92b7531274a71352c3620a77cbe81b18b7232 (diff) | |
download | guix-f9c7080aa3acafc6fb15fa1b304670acfe114704.tar.gz guix-f9c7080aa3acafc6fb15fa1b304670acfe114704.zip |
Fix `bytevector->nix-base32-string'.
* guix/utils.scm (bytevector-quintet-ref-right,
bytevector-quintet-fold): New procedures.
(bytevector-quintet-fold-right): Add `quintet-fold' parameter; use it
instead of `bytevector-quintet-fold'.
(bytevector->base32-string): Pass BYTEVECTOR-QUINTET-FOLD as the
first parameter.
(bytevector->nix-base32-string): Pass BYTEVECTOR-QUINTET-FOLD-RIGHT as
the first parameter.
* tests/utils.scm ("sha256 & bytevector->nix-base32-string"): New test.
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions