syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.67k stars 4.89k forks source link

Ocaml layer fails to load merlin-iedit #14686

Closed n-raymond closed 3 years ago

n-raymond commented 3 years ago

Description :octocat:

When adding ocaml layer in dotspacemacs-configuration-layers of my ~/.spacemacs configuration on develop branch, the following error message occures :

Error (use-package): merlin/:init: Cannot open load file: No such file or directory, merlin-iedit

Reproduction guide :beetle:

OPAM and merlin configuration

Example for debian based configurations :

Run following commands

sudo apt install opam
opam init
opam install merlin utop ocp-indent
Configure Spacemacs

Observed behaviour: :eyes: :broken_heart:

Packages seems to be well downloaded but emacs loading fails with the following error message

Error (use-package): merlin/:init: Cannot open load file: No such file or directory, merlin-iedit

Moreover, when editing a Ocaml file, merlin does not seems to work

Expected behaviour: :heart: :smile:

Emacs should launch without an error and merlin should be working as expected.

System Info :computer:

n-raymond commented 3 years ago

Was fixed by https://github.com/syl20bnr/spacemacs/pull/14691, thanks !