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 opam config struct: revise config_opam_pkgs to handle version wildcard #13

Open mobileink opened 3 years ago

mobileink commented 3 years ago

The original version required a version string for pkgs in the package list of the opam config struct. I've made that optional, so that whatever is installed will be used, to make it easier for people who are not atm worried about versions. Unfortunately the existing code for checking versions and pinning does not handle this situation well. Needs a thorough revision.