obazl / rules_ocaml

A Bazel Language Support Package for OCaml
https://obazl.github.io/docs_obazl
Apache License 2.0
32 stars 7 forks source link

bootstrap troubleshooting: premature pinning #12

Open mobileink opened 3 years ago

mobileink commented 3 years ago

Case: lwt. Obazl tried to install and pin before libev was installed (brew install libev). Opam installation of lwt then failed because it was pinned before installation. Unpinning allows the install to go through.

TODO: document this in the troubleshooting section, and fix the install/pin logic. OBAZL_OPAM_PIN in general does not seem to work on a fresh switch.