When using a clean switch it tries to build the examples as part of dune's default target, which fails because the package doesn't depend on ppx_expect nor ppx_deriving:
A solution would be to change the build target to something like @examples and then only build @examples as part of CI (where the dependencies are installed manually).
When using a clean switch it tries to build the examples as part of dune's default target, which fails because the package doesn't depend on
ppx_expect
norppx_deriving
:A solution would be to change the build target to something like
@examples
and then only build@examples
as part of CI (where the dependencies are installed manually).