anchor.diff:        dot_merlin_reader = "${dot-merlin-reader}/bin/dot-merlin-reader";
         dune = "${dune_2}/bin/dune";
       })
  +  ] ++ lib.optional (!lib.versionAtLeast ocaml.version "4.12")
       # This fixes the test-suite on macOS
       # See https://github.com/ocaml/merlin/pull/1399
  +    # Fixed in 4.4 for OCaml ≥ 4.12
       ./test.patch
  -  ];
  +  ;
   
     useDune2 = true;
   
  
positive.code: }:
  
  let
    merlinVersion = "4.3.1";
  
    hashes = {
      "4.3.1-411" = "0lhxkd1wa8k3fkcnhvzlahx3g519cdi5h7lgs60khqqm8nfvfcr5";
      "4.3.1-412" = "0ah2zbj1hhrrfxp4nhfh47jsbkvm0b30dr7ikjpmvb13wa8h20sr";
    };
  
    ocamlVersionShorthand = lib.concatStrings
  
negative.code:   inherit version;
  
    src = fetchurl {
      url = "https://github.com/ocaml/merlin/releases/download/v${version}/merlin-${version}.tbz";
      sha256 = hashes."${version}";
    };
  
  