Skip to content

Change 'opam switch create <version>' to look for packages listed in default-compiler instead of any compiler packages #6465

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kit-ty-kate
Copy link
Member

@kit-ty-kate kit-ty-kate commented Apr 7, 2025

Proposal 1 for making opam switch create <version> avoid ocaml-system coherently with the new behaviour of opam init introduced in #6307
Mentioned in #6407 (comment)
Proposal 2: #6466

Pros:

  • The set of default compiler packages is now arbitrary configurable via opam option

Cons:

  • if someone relied on the previous behaviour using arbitrary package names, it is now hard to do
  • this makes opam a bit more opam-repository specific by default, without changing the new default-compiler option

…ault-compiler instead of any compiler packages with that version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants