tarides / opam-monorepo

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

Libuv not compatible with opam-monorepo #318

Open tmattio opened 2 years ago

tmattio commented 2 years ago

This seems to be an issue caused by https://github.com/ocaml/dune/issues/4121, however, I'm opening an issue here as well to track it on opam-monorepo.

This is preventing users from using eio in mono repositories at the moment (since the backend on macOS uses luv). I've pushed a small reproduction here: https://github.com/tmattio/repro-eio-monorepo.

The issue has been observed while trying to port https://github.com/moby/vpnkit to opam monorepo.

NathanReb commented 2 years ago

It seems indeed that it's not specific to opam-monorepo and does not work in opam either.

talex5 commented 2 years ago

Looks like @patricoferris has a workaround: https://github.com/patricoferris/luv/tree/monorepo