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

Unify explicit_repos_solver with local_opam_config_solver #315

Open
Leonidas-from-XIV opened this issue Jun 13, 2022 · 1 comment
Open
Labels
enhancement New feature or request
Milestone

Comments

@Leonidas-from-XIV
Copy link
Member

The idea would be to read all the relevant configuration from the local switch state and pass it to the explicit_repos_solver and stop using the local_opam_config_solver eventually.

The advantage is that changes to OPAM variables, repos etc. can be made explicitly by opam-monorepo at runtime, instead of having to modify the switch or global state (thus avoiding the "please add the opam-overlays repo to your switch" message, since opam-monorepo can do it by itself without clobbering the users switch).

Depends on #284, since it requires the explicit_repos_solver to work with external repos like opam-repository.

@tmattio
Copy link
Contributor

tmattio commented Jan 10, 2023

Related to #333.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants