guix hash: Support several files.
authorzimoun <zimon.toutoune@gmail.com>
Thu, 18 Nov 2021 00:20:21 +0000 (01:20 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 17 Dec 2021 16:29:34 +0000 (17:29 +0100)
commit6e08f07f2032cd85cd67beadf7a91b5c26d0619d
tree4592e1b37ec9c16f068fd7cdaf3c3197a75086c1
parent155fc235b5e1b41b4665c782365dd2bf11beae9c
guix hash: Support several files.

* guix/scripts/hash.scm (guix-hash): Allow several files.
[file-hash]: Catch system-error.
[formatted-hash]: New procedure.
* tests/guix-hash.sh: Add test.
* doc/guix.texi (Invoking guix hash): Mention "one or more files".

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
doc/guix.texi
guix/scripts/hash.scm
tests/guix-hash.sh