Open RyanGibb opened 2 years ago
This seems to be mirage specific as testing with a minimal project depending on package with an overlay in opam-overlays works
Notably mirage changed dune to a test dependency in 4.0.0. But that begs the question why it works with the switch repos but not manually specified ones.
Also the same error results with --add-opam-repositories
or in the opam file x-opam-monorepo-opam-repositories
.
Whether dune is a test dependency shouldn't matter I think, because it is special-cased in the code. If there is no dune, we can't build anything anyway :)
opam monorepo fails if the repos are specified:
But works if the switch's repos are used: