Use Path.absolute for OCAML_TOPLEVEL_PATH
This commit is contained in:
parent
3cb0372f8b
commit
629b4d0044
|
@ -206,7 +206,7 @@ let create ~(kind : Kind.t) ~path ~env ~name ~merlin =
|
|||
; for_host = None
|
||||
; build_dir
|
||||
; path
|
||||
; toplevel_path = Option.map (get_env env "OCAML_TOPLEVEL_PATH") ~f:Path.of_string
|
||||
; toplevel_path = Option.map (get_env env "OCAML_TOPLEVEL_PATH") ~f:Path.absolute
|
||||
|
||||
; ocaml_bin = dir
|
||||
; ocaml = Path.relative dir "ocaml"
|
||||
|
|
Loading…
Reference in New Issue