Closed hannesm closed 6 months ago
fixed by https://github.com/ocaml/opam-repository/pull/25909 when merged to the repository. I'll close this issue.
Thank you @hannesm! Do you think that wrapping Backend
in mirage-net-xen should be done too? That might break code in other places.
Yes, I think that in the end, we should work that each opam package foo in OCaml defines only the findlib library foo (+sublibs, foo.hello, foo.unix), and the modules are all within Foo. Now, for mirage-bootvar this is not exactly the case, there's Mirage_bootvar_backend and Mirage_bootvar_parse_argv -- but they're unique enough ;)
The underlying problem as far as I can tell is that mirage-bootvar defines a module
Backend
(and is not wrapped), and also mirage-net-xen is not wrapped and defines a module Backend. I'll work on fixing mirage-bootvar and cut a release.