summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-06-08 22:43:05 +0200
committerLudovic Courtès <ludo@gnu.org>2023-06-08 22:54:58 +0200
commit885d524f79aa4bbfac5dfebf285e1e248184ee70 (patch)
treee48cdf6f498d2c95fad985d58436d4fb19f3e532 /scripts
parent3f5e14182931f123c10513a3e1e2abaebfb52279 (diff)
downloadguix-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 'scripts')
0 files changed, 0 insertions, 0 deletions