Skip to content

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

Closed
kit-ty-kate wants to merge 1 commit intoocaml:masterfrom
kit-ty-kate:switch-create-default-compiler
Closed

Change 'opam switch create <version>' to look for packages listed in default-compiler instead of any compiler packages#6465
kit-ty-kate wants to merge 1 commit intoocaml:masterfrom
kit-ty-kate:switch-create-default-compiler

Conversation

@kit-ty-kate
Copy link
Copy Markdown
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
@kit-ty-kate
Copy link
Copy Markdown
Member Author

Superseded by #6494

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AREA: DESIGN PR: OUTDATED This PR might still have meaningful content, but is getting stale and might be closed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants