diff --git a/haxe/Build.hx b/haxe/Build.hx index 998edd2..18f8e1e 100644 --- a/haxe/Build.hx +++ b/haxe/Build.hx @@ -170,7 +170,7 @@ class Build { cygCommand("opam",["init","--yes","default","https://github.com/ocaml-opam/opam-repository-mingw.git#sunset","--comp",ocaml,"--switch",ocaml]); cygCommand("opam",["switch",ocaml]); - cygCommand("opam",["repo", "set-url", "fallback", "https://github.com/ocaml/opam-repository.git"]); + cygCommand("opam",["repo", "add", "fallback", "https://github.com/ocaml/opam-repository.git"]); cygCommand("opam",["repo", "set-repos", "default", "fallback"]); cygCommand("opam",["install","--yes"].concat(CFG.opamLibs));