summary refs log blame commit diff
path: root/pkgs/development/tools/ocaml/merlin/fix-paths.patch
blob: 05fafacc09c01aa5c32d56b345f7466d5d1c53b7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                  
--- a/src/kernel/mconfig_dot.ml
+++ b/src/kernel/mconfig_dot.ml
@@ -126,10 +126,10 @@ module Configurator = struct
       let prog, args =
         match cfg with
         | Dot_merlin ->
-          let prog = "dot-merlin-reader" in
+          let prog = "@dot_merlin_reader@" in
           prog, [| prog |]
         | Dune ->
-          let prog = "dune" in
+          let prog = "@dune@" in
           prog, [| prog; "ocaml-merlin"; "--no-print-directory" |]
       in
       log ~title:"get_config" "Using %s configuration provider." (to_string cfg);