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
[BUG] (implicit_transitive_deps true) conflicts with Yojson's seq
dependency
#1500
Comments
seq
dependencyseq
dependency
Maybe you can just drop the |
The problem is that the dependency appears in the |
Maybe ? I am not familiar with Also looking at Merlin's |
Right, sorry, I meant it could be set to |
Maybe you could try to add yojson , cppo and csexp in "vendored" directories ?
(but my opam installation might be interfering positively with the build, my setup is very different from yours) |
That's my setup :)
Yes, I think that in order to reproduce you need to be in an environment without
Coming back to the more general question, is there a specific reason why Merlin is using |
I see. But also Merlin does not declare its use of Could you try adding the I don't know the historical reason for Merlin usage of |
I believe that would solve the problem but it would not be the "right" solution: there is no reason for Merlin to declare a dependency on this "compatibility" shim, since Merlin requires a version of OCaml that already includes the
OK. I think the idea behind But if you prefer to keep Merlin as it is, the alternative is to modify Yojson to "re-export" the |
Problem has been fixed upstream in the |
I tried to build
merlin
in a standalone workspace consisting of:merlin
csexp
yojson
cppo
seq
(https://github.com/c-cube/seq)(no opam, no ocamlfind). Launching
dune build -p merlin,merlin-lib,cppo,yojson,seq,csexp
fails withThe problem can be worked around by setting the
(implicit_transitive_deps true)
indune-project
tofalse
true
.The text was updated successfully, but these errors were encountered: