summaryrefslogtreecommitdiff
path: root/gnu/packages/gnustep.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2021-03-15 15:05:08 +0000
committerChristopher Baines <mail@cbaines.net>2021-03-17 20:41:10 +0000
commitc37e3b92ad0334ba2fe7ee4e98631f0a4edeee21 (patch)
treef1b4c4c9946649d8c283031f99edecc0fa5b0774 /gnu/packages/gnustep.scm
parent24f1ce9e71a4f2fc7370cefb42c04cb669397fcf (diff)
scripts: substitute: Add back some error handling.
In f50f5751fff4cfc6d5abba9681054569694b7a5c, the way fetch was called within process-substitution was changed. As call-with-cached-connection actually includes important error handling for the opening of a HTTP request, this change removed some error handling. This commit adds that back. Fixes <https://bugs.gnu.org/47157>. * guix/scripts/substitute.scm (call-with-cached-connection): New procedure. (with-cached-connection): New syntax rule. (process-substitution): Retry once for some errors when making HTTP requests to fetch substitutes.
Diffstat (limited to 'gnu/packages/gnustep.scm')
0 files changed, 0 insertions, 0 deletions