Skip to content

Commit

Permalink
bugfix: Read DiskuvOCamlMode environment var
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahbeckford committed Sep 7, 2023
1 parent d7c6d1d commit c3b247f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/runtimelib/dkml_context.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3b247f

Please sign in to comment.