diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-12-02 14:11:20 +0100 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2024-07-23 16:27:27 +0200 |
commit | d007b64356764f49677c78d82643f1125b5353b7 (patch) | |
tree | 8fc35b2d491cd8a4fbae12890947a7f213d040c1 /nix/scripts/download.in | |
parent | ffdcef5f36196f5e004ca6cb96f5accc0c73fc92 (diff) |
Fixes <https://issues.guix.gnu.org/issue/65979>.
* guix/hash.scm (%vcs-directories): New variable.
(vcs-file?): Add optional argument for passing VCS kind of the
file/repository.
(file-hash*): Adjust accordingly.
(vcs-file-predicate): New procedure and export it.
* guix/scripts/hash.scm (guix-hash)[file-hash]: Use it.
Change-Id: I8e286c3426ddefd664dc3a471d5a09e309824faa
Diffstat (limited to 'nix/scripts/download.in')
0 files changed, 0 insertions, 0 deletions