ocamlPackages.dot-merlin-reader: use Dune 3
This commit is contained in:
parent
011e1aa383
commit
ffcb033f38
|
@ -1,15 +1,18 @@
|
|||
{ lib, fetchurl, yojson, csexp, buildDunePackage, merlin-lib, merlin }:
|
||||
{ lib, fetchurl, yojson, csexp, findlib, buildDunePackage, merlin-lib, merlin }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "dot-merlin-reader";
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
inherit (merlin) version src;
|
||||
|
||||
minimalOCamlVersion = "4.06";
|
||||
|
||||
buildInputs = if lib.versionAtLeast version "4.7-414"
|
||||
buildInputs = [ findlib ]
|
||||
++ (if lib.versionAtLeast version "4.7-414"
|
||||
then [ merlin-lib ]
|
||||
else [ yojson csexp ];
|
||||
else [ yojson csexp ]);
|
||||
|
||||
meta = with lib; {
|
||||
description = "Reads config files for merlin";
|
||||
|
|
Loading…
Reference in a new issue