Skip to content

Commit

Permalink
ocamlPackages.lsp: 1.18.0 → 1.19.0 (#344686)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrikstrid authored Sep 30, 2024
2 parents 226757c + 9139415 commit 04efabb
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
8 changes: 7 additions & 1 deletion pkgs/development/ocaml-modules/linol/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ rec {
hash = "sha256-MwEisPJdzZN1VRnssotvExNMYOQdffS+Y2B8ZSUDVfo=";
};

propagatedBuildInputs = [ yojson logs lsp ppx_yojson_conv_lib trace ];
propagatedBuildInputs = [
yojson
logs
(lsp.override { version = "1.18.0"; })
ppx_yojson_conv_lib
trace
];

meta = with lib; {
description = "LSP server library";
Expand Down
9 changes: 8 additions & 1 deletion pkgs/development/ocaml-modules/ocaml-lsp/jsonrpc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
, lib
, ocaml
, version ?
if lib.versionAtLeast ocaml.version "4.14" then
if lib.versionAtLeast ocaml.version "5.02" then
"1.19.0"
else if lib.versionAtLeast ocaml.version "4.14" then
"1.18.0"
else if lib.versionAtLeast ocaml.version "4.13" then
"1.10.5"
Expand All @@ -19,6 +21,11 @@
}:

let params = {
"1.19.0" = {
name = "lsp";
minimalOCamlVersion = "5.02";
sha256 = "sha256-54PZ8af4nOG/TJFIqjSiKDaL0Um7zKQ96AtFkiHe5ew=";
};
"1.18.0" = {
name = "lsp";
minimalOCamlVersion = "4.14";
Expand Down
4 changes: 3 additions & 1 deletion pkgs/development/ocaml-modules/ocaml-lsp/lsp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
, ocamlformat-rpc-lib
, ocaml
, version ?
if lib.versionAtLeast ocaml.version "4.14" then
if lib.versionAtLeast ocaml.version "5.02" then
"1.19.0"
else if lib.versionAtLeast ocaml.version "4.14" then
"1.18.0"
else if lib.versionAtLeast ocaml.version "4.13" then
"1.10.5"
Expand Down

0 comments on commit 04efabb

Please sign in to comment.