Skip to content

Marking Package Compatibility With Dune Package Management #9135

@rgrinberg

Description

@rgrinberg

Some opam packages are incompatible with dune's package management. Specifically, the OCaml compiler itself is a notable example due to some issues in the configure script and the lack of relocation. As well as in general, opam allows package builds to do things will always be prohibited by dune. Therefore we need to have a way to work around such temporary and sometimes permanent limitations. Our solution is to introduce our own opam repository overlay that will be available by default to user's of dune's package management. The overlay should give us the following two capabilities:

  • Apply patches to existing packages to make them compatible with dune builds.
  • Mark packages as being incompatible with dune's package management.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions