Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to opam 2.2 #380

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Upgrade to opam 2.2 #380

wants to merge 2 commits into from

Conversation

kit-ty-kate
Copy link
Contributor

Queued on #379

@Leonidas-from-XIV
Copy link
Member

I assume that requires the OPAM dependencies to be bumped to 2.2?

@kit-ty-kate
Copy link
Contributor Author

yes but that won't work until 2.2.0~alpha1 is released

@Leonidas-from-XIV
Copy link
Member

Merged #379, so let's wait until the alpha.

@Leonidas-from-XIV Leonidas-from-XIV added the no changelog Add this label to PRs without user facing changes to disable CI changelog checks label Mar 22, 2023
@psafont
Copy link

psafont commented Apr 11, 2024

I'm unable to use opam monorepo lock with 2.2.0~beta2 on github.com/mirage/mirage-xen because it doesn't detect the presence of the dune-universe repository, does this PR fix it?

$ opam repo
[NOTE] These are the repositories in use by the current switch. Use '--all' to see all configured repositories.

<><> Repository configuration for switch mirage <><><><><><><><><><><><><><><><>
 1 dune-universe git+https://github.com/dune-universe/opam-overlays.git
 2 default       https://opam.ocaml.org

$ opam monorepo lock
==> Using 1 locally scanned package as the target.
opam-monorepo: [ERROR] Some dependencies cannot be built with dune!

opam-monorepo requires that all dependencies use dune as their build system.

These dependencies (possibly transitive) don't use dune as their build system:
- ocamlfind
- logs
- fmt
- cmdliner

The dune-universe opam repository (git+https://github.com/dune-universe/opam-overlays.git) contains dune ports of some popular packages to help build more packages with dune. It doesn't appear to be set up on this switch. Adding it to this switch may fix this issue. Add the dune-universe opam repository to this switch by running the command:

opam repository add dune-universe git+https://github.com/dune-universe/opam-overlays.git

@kit-ty-kate kit-ty-kate marked this pull request as ready for review April 23, 2024 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog Add this label to PRs without user facing changes to disable CI changelog checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants