Open Josef-Thorne-A opened 2 weeks ago
@anmonteiro helped me figure out that this was due to ppxlib having implicit_transitive_deps
set to false in their dune-project
My personal issue is resolved -- however it would be helpful to have a more helpful error message if it's possible to have fine-grained enough detection of this type of issue.
Try dune 3.17 on OCaml 5.2. It might be better. There's not much we can do otherwise without compiler support.
Expected Behavior
I'm trying to pin sexplib0 against my own version of it which uses virtual libraries for melange compatibility -- it should just work as long as I specify the correct implementation (melange for executables using melange and native for native executables).
Actual Behavior
The library itself compiles fine, but I into this error if I try to compile ppxlib against it with
opam pin
-- I don't think this is an issue with ppxlib but rather with dune or my dune configuration. I suspect this is a simple mistake on my part but it's beyond my ability to determine:Reproduction
Here is a graphviz from dune-deps. It doesn't look quite right to me:
Specifications
dune
(output ofdune --version
): https://github.com/Josef-Thorne-A/sexplib0-jsocaml
(output ofocamlc --version
): https://github.com/Josef-Thorne-A/sexplib0-js