Skip to content
New issue

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

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

Already on GitHub? # to your account

opam init --bare wastes unnecessary time selecting a compiler #5815

Open
kit-ty-kate opened this issue Jan 31, 2024 · 0 comments
Open

opam init --bare wastes unnecessary time selecting a compiler #5815

kit-ty-kate opened this issue Jan 31, 2024 · 0 comments

Comments

@kit-ty-kate
Copy link
Member

This is a regression compared to opam 2.0.
opam 2.1 also exhibits this issue as well as opam master (2.2.0~beta1):

$ opam init -n --bare --debug
[...]
00:08.106  GSTATE                          Failed to evaluate global variable sys-ocaml-version: "ocamlc": command not found.
00:13.974  CLIENT                          Selected default compiler ocaml-base-compiler in 6.143s

--bare should prevent opam from looking for a default compiler, since none will be installed.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant