tarides / ocaml-platform-installer

The best way for developers to write software in OCaml
ISC License
61 stars 8 forks source link

Avoid mutating Opam variable `sys-ocaml-version` #65

Open Julow opened 2 years ago

Julow commented 2 years ago

We must temporarily set the global variable sys-ocaml-version in order to install the ocaml-system package in the sandbox switch. This variable can't be "local" it seems.

@dra27 suggested that the local value don't shadow the global value might be a bug in Opam and that we can re-define ocaml-system to not depend on this variable.

Related issue on Opam: https://github.com/ocaml/opam/issues/4923