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.
We must temporarily set the global variable
sys-ocaml-version
in order to install theocaml-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