diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-03-29 15:58:42 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-03-30 01:01:31 +0100 |
commit | ddc9d66f2b00f62eb35c3da819dc684ec4a50227 (patch) | |
tree | 88393f546a750b5907a9bcef3170f5258bd358e5 /tests/services.scm | |
parent | 80a135d64bcf0b4fc567077ec35cf4275085114f (diff) | |
download | guix-ddc9d66f2b00f62eb35c3da819dc684ec4a50227.tar guix-ddc9d66f2b00f62eb35c3da819dc684ec4a50227.tar.gz |
substitute: Retry nar download upon networking error.
This allows ‘guix substitute’ to gracefully handle errors like:
TLS error in procedure 'write_to_session_record_port': Error in the push function
instead of exiting (“`guix substitute' died unexpectedly”).
* guix/scripts/substitute.scm (download-nar)[try-fetch]: Catch
‘network-error?’ too.
Reported-by: Ada Stevenson <adanskana@gmail.com>
Change-Id: I91b92183b0165832645ee37d50c13445f9322525
Diffstat (limited to 'tests/services.scm')
0 files changed, 0 insertions, 0 deletions