From 73397b9fc1bc5c15b2117648b1cf219a582a3b49 Mon Sep 17 00:00:00 2001 From: Kate Date: Fri, 16 Dec 2022 20:10:22 +0000 Subject: [PATCH] Include the ocaml-beta-repository in the images (opam init --reinit needed to update the opam state needs network access for nothing otherwise) --- src-opam/opam.ml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src-opam/opam.ml b/src-opam/opam.ml index d74975b5..540951ee 100644 --- a/src-opam/opam.ml +++ b/src-opam/opam.ml @@ -444,8 +444,11 @@ let all_ocaml_compilers hub_id arch distro = let add_beta_remote = if List.exists OV.Releases.is_dev ovs then run - "opam repo add beta \ - git+https://github.com/ocaml/ocaml-beta-repository --set-default" + "git clone https://github.com/ocaml/ocaml-beta-repository \ + /home/opam/ocaml-beta-repository" + @@ run + "opam repo add beta file:///home/opam/opam-beta-repository \ + --set-default" else empty in add_beta_remote @@@ List.map (create_switch ~arch distro) ovs