Skip to content

Commit

Permalink
Ignore transient failures from system package managers
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Feb 28, 2023
1 parent 9e55f8a commit 128dd44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opam_build.ml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ let opam_install ~variant ~opam_version ~pin ~lower_bounds ~with_tests ~pkg =
else
[]
) @ [
run ~network "opam %s" (match opam_version with `V2_1 | `Dev -> "update --depexts" | `V2_0 -> "depext -u");
run ~network "opam %s || true" (match opam_version with `V2_1 | `Dev -> "update --depexts" | `V2_0 -> "depext -u");
(* TODO: Replace by two calls to opam install + opam install -t using the OPAMDROPINSTALLEDPACKAGES feature *)
run ~cache ~network
{|%sopam reinstall%s %s;
Expand Down

0 comments on commit 128dd44

Please sign in to comment.