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

Ocaml layer init without opam. #7793

Closed
wants to merge 1 commit into from
Closed

Ocaml layer init without opam. #7793

wants to merge 1 commit into from

Conversation

bschommer
Copy link
Contributor

Currently the ocaml layer requires opam in order to work. However
opam is only really required for an easy installation of the
required ocaml binaries. The only place where opam is used
instead is to add the merlin files of the merlin installed
via opam instead of the merlin files from melp.

This commit introduces a fallback if opam is not installed but
ocamlmerlin is installed, since the melpa package of merlin
is already installed through packages.

This should fix issue #7312.

Currently the ocaml layer requires opam in order to work. However
opam is only really required for an easy installation of the
required ocaml binaries. The only place where opam is used
instead is to add the merlin files of the merlin installed
via opam instead of the merlin files from melp.

This commit introduces a fallback if opam is not installed but
ocamlmerlin is installed, since the melpa package of merlin
is already installed through packages.
@bmag bmag added the Bug fix label Nov 21, 2016
@bschommer
Copy link
Contributor Author

Any problem with this PR? Is there anything missing?

@TheBB
Copy link
Collaborator

TheBB commented May 24, 2017

Thanks! Cherry-picked in develop. You can safely delete your branch.

@TheBB TheBB closed this May 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants