ocamlPackages.lsp: fix build of version 1.4.1

This commit is contained in:
Vincent Laporte 2023-02-10 06:23:40 +01:00
parent 3f47ae69c1
commit daf0f2b3a1
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -26,7 +26,7 @@ buildDunePackage rec {
pname = "lsp";
inherit (jsonrpc) version src;
duneVersion = if lib.versionAtLeast version "1.10.0" then "3" else "2";
minimumOCamlVersion =
minimalOCamlVersion =
if lib.versionAtLeast version "1.7.0" then
"4.12"
else
@ -74,7 +74,6 @@ buildDunePackage rec {
[ pp re ppx_yojson_conv_lib octavius dune-build-info omd cmdliner ocamlformat-rpc-lib ]
else
[
cppo
ppx_yojson_conv_lib
ocaml-syntax-shims
octavius
@ -83,6 +82,8 @@ buildDunePackage rec {
cmdliner
];
nativeBuildInputs = lib.optional (lib.versionOlder version "1.7.0") cppo;
propagatedBuildInputs = [
csexp
jsonrpc