diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-06-08 22:43:05 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-06-08 22:54:58 +0200 |
commit | 885d524f79aa4bbfac5dfebf285e1e248184ee70 (patch) | |
tree | e48cdf6f498d2c95fad985d58436d4fb19f3e532 /tests/opam.scm | |
parent | 3f5e14182931f123c10513a3e1e2abaebfb52279 (diff) | |
download | guix-885d524f79aa4bbfac5dfebf285e1e248184ee70.tar guix-885d524f79aa4bbfac5dfebf285e1e248184ee70.tar.gz |
substitute: Gracefully retry after failed partial downloads.
Fixes <https://issues.guix.gnu.org/63443>.
Reported by Attila Lendvai <attila@lendvai.name>.
* guix/scripts/substitute.scm (catch-system-error): New macro.
(download-nar): Add call to 'delete-file-recursively'.
* tests/substitute.scm ("substitute, previous partial download around"):
New test.
Diffstat (limited to 'tests/opam.scm')
0 files changed, 0 insertions, 0 deletions