depot/pkgs/development/tools/ocaml/merlin/fix-paths.patch
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

15 lines
554 B
Diff

--- 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);