tarides / opam-monorepo

Assemble dune workspaces to build your project and its dependencies as a whole
ISC License
130 stars 27 forks source link

Dune 3.5 update #354

Closed Leonidas-from-XIV closed 2 years ago

Leonidas-from-XIV commented 2 years ago

This is useful for releases where we're supposed to bump the dune-lang version. But opam-monorepo is currently not compatible with newer versions of dune so this PR attempts to fix things.

Leonidas-from-XIV commented 2 years ago

This PR has been affected by https://github.com/ocaml/dune/issues/6545 so there's a bit of code reshuffling to not accidentally refer to Duniverse_lib.Duniverse_lib (which is struct end in dune 3.5 and 3.6.0) and while there is already a PR with a fix I think cleaning up the code no not accidentally refer to it is a good practice anyway.