ocamlPackages.lsp: use Dune 3
This commit is contained in:
parent
09d48ab032
commit
d9b08e0b0b
|
@ -3,7 +3,7 @@
|
|||
buildDunePackage rec {
|
||||
pname = "ocaml-lsp-server";
|
||||
inherit (lsp) version src preBuild;
|
||||
duneVersion = if lib.versionAtLeast version "1.10.0" then "3" else "2";
|
||||
duneVersion = "3";
|
||||
|
||||
buildInputs = lsp.buildInputs ++ [ lsp re ]
|
||||
++ lib.optional (lib.versionAtLeast version "1.9") spawn
|
||||
|
|
|
@ -40,7 +40,7 @@ buildDunePackage rec {
|
|||
inherit (params) sha256;
|
||||
};
|
||||
|
||||
duneVersion = if lib.versionAtLeast version "1.10.0" then "3" else "2";
|
||||
duneVersion = "3";
|
||||
minimalOCamlVersion = "4.06";
|
||||
|
||||
buildInputs =
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
buildDunePackage rec {
|
||||
pname = "lsp";
|
||||
inherit (jsonrpc) version src;
|
||||
duneVersion = if lib.versionAtLeast version "1.10.0" then "3" else "2";
|
||||
duneVersion = "3";
|
||||
minimalOCamlVersion =
|
||||
if lib.versionAtLeast version "1.7.0" then
|
||||
"4.12"
|
||||
|
|
Loading…
Reference in a new issue