obazl / tools_obazl

Tools for use with the OBazl Toolsuite
https://obazl.github.io/docs_obazl/
Eclipse Public License 2.0
4 stars 0 forks source link

@obazl//coswitch:refresh fails on local switch with system compiler #12

Open mobileink opened 1 year ago

mobileink commented 1 year ago

Use case: system compiler is 4.14.0. To create a local switch in ppx_assert: opam switch create . 4.14.0. This creates a new local switch using the system compiler (/usr/local/bin/ocamlc etc.), which means that ./_opam/ocaml will not have all the stuff it would have if the compiler is installed in the switch itself. Which means in turn that @obazl//coswitch:refresh will not know how to deal with it.