diff --git a/src/runtimelib/dkml_context.ml b/src/runtimelib/dkml_context.ml index d61c3ae..7fcb277 100644 --- a/src/runtimelib/dkml_context.ml +++ b/src/runtimelib/dkml_context.ml @@ -74,6 +74,11 @@ let get_dkmlenv_opt = in List [ Atom "DiskuvOCamlBinaryPaths"; List bpaths ] :: lst in + let lst = + match OS.Env.var "DiskuvOCamlMode" with + | None | Some "" -> lst + | Some v -> List [ Atom "DiskuvOCamlMode"; List [ Atom v ] ] :: lst + in Ok (Some (List