Skip to content

Commit

Permalink
feat(build): #1126 retry makepythonpypienvironment
Browse files Browse the repository at this point in the history
- Add `--fail` to retry on HTTP 5XX response code
(`curl: (35) Send failure: Connection reset by peer`)

Signed-off-by: Robin Quintero <[email protected]>
  • Loading branch information
rohaquinlop committed Sep 6, 2023
1 parent 45f7141 commit e07a047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/args/make-python-pypi-environment/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ assert builtins.any (_: _) [
inherit name;
inherit sha256;
inherit url;
curlOptsList = ["--retry" "3"];
curlOptsList = ["--retry" "3" "--fail"];
};
})
(builtins.concatLists [
Expand Down

0 comments on commit e07a047

Please sign in to comment.