diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-07-03 01:17:11 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-07-03 01:18:24 +0200 |
commit | b0fad8a2d45a47138e202644c542adbd6d5ee684 (patch) | |
tree | 3416eaf7a3370f4ca8077a3fa706ce3dd8abd0d1 /guix/scripts/download.scm | |
parent | 69927e78de91b11d1fa93ffbf9a7cf915827b6e3 (diff) | |
download | gnu-guix-b0fad8a2d45a47138e202644c542adbd6d5ee684.tar gnu-guix-b0fad8a2d45a47138e202644c542adbd6d5ee684.tar.gz |
Use `port-sha256' and `open-sha256-port'.
* guix/derivations.scm (derivation-hash): Add comment as to why we keep
the plain `sha256' call.
* guix/scripts/download.scm (guix-download): Use `port-sha256' instead
of (compose sha256 get-bytevector-all).
* guix/scripts/refresh.scm (update-package): Likewise.
Diffstat (limited to 'guix/scripts/download.scm')
-rw-r--r-- | guix/scripts/download.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/download.scm b/guix/scripts/download.scm index 3fbda034f5..87b420405c 100644 --- a/guix/scripts/download.scm +++ b/guix/scripts/download.scm @@ -116,7 +116,7 @@ Supported formats: 'nix-base32' (default), 'base32', and 'base16' (or path (leave (_ "~a: download failed~%") arg)) - (compose sha256 get-bytevector-all))) + port-sha256)) (fmt (assq-ref opts 'format))) (format #t "~a~%~a~%" path (fmt hash)) #t))) |