Ludovic Courtès ddc9d66f2b
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
2024-03-30 01:01:31 +01:00
..
2024-01-22 11:26:56 +01:00
2023-03-13 15:08:33 +01:00
2023-09-26 17:36:58 +02:00
2024-03-07 13:04:27 +02:00
2023-03-13 15:08:33 +01:00
2024-01-08 21:04:44 +03:00
2023-08-25 14:24:43 +02:00
2023-03-13 15:08:33 +01:00
2023-03-13 15:08:33 +01:00
2023-03-13 15:08:33 +01:00
2023-03-13 15:08:33 +01:00
2024-02-12 21:26:01 -06:00
2024-01-05 17:27:21 +01:00