Skip to content

Commit

Permalink
use add fallback instead of set-url
Browse files Browse the repository at this point in the history
closes #11
  • Loading branch information
Simn committed Jan 6, 2024
1 parent b2acea9 commit 38215e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haxe/Build.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 38215e0

Please sign in to comment.