File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -405,6 +405,10 @@ let separate_ocaml_compilers hub_id arch distro =
405
405
if OV.Releases. is_dev ov then
406
406
run " opam repo add beta git+https://github.com/ocaml/ocaml-beta-repository --set-default"
407
407
else empty in
408
+ let add_overlay =
409
+ if os_family = `Windows then
410
+ run " opam repo add ocurrent-overlay git+https://github.com/ocurrent/opam-repository-mingw#overlay --set-default"
411
+ else empty in
408
412
let default_switch_name = OV. (with_patch (with_variant ov None ) None |> to_string) in
409
413
let variants =
410
414
empty @@@ List. map (create_switch ~arch distro) (OV.Opam.V2. switches arch ov)
@@ -421,6 +425,7 @@ let separate_ocaml_compilers hub_id arch distro =
421
425
@@ run " opam init -k git -a /home/opam/opam-repository --bare%s"
422
426
(if os_family = `Windows then " --disable-sandboxing" else " " )
423
427
@@ add_remote
428
+ @@ add_overlay
424
429
@@ variants
425
430
@@ run " opam switch %s" default_switch_name
426
431
@@ run " opam install -y depext%s"
You can’t perform that action at this time.
0 commit comments