Skip to content

Prevent 'opam switch create <version>' from looking for packages mentioning the sys-ocaml-version variable #6466

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 2 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 1: #6465

Pros:

  • Does not affect custom repositories like Proposal 1
  • Simpler implementation compared to Proposal 1

Cons:

  • There isn't really any way to prevent this behaviour for people who want the old one, except if were to add an ugly option just for this

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