diff --git a/pkgs/development/ocaml-modules/eio/default.nix b/pkgs/development/ocaml-modules/eio/default.nix index 224e6051eb04..f9714ee8fbf1 100644 --- a/pkgs/development/ocaml-modules/eio/default.nix +++ b/pkgs/development/ocaml-modules/eio/default.nix @@ -1,7 +1,13 @@ { lib, ocaml, - version ? if lib.versionAtLeast ocaml.version "5.1" then "1.2" else "0.12", + version ? + if lib.versionAtLeast ocaml.version "5.2" then + "1.3" + else if lib.versionAtLeast ocaml.version "5.1" then + "1.2" + else + "0.12", buildDunePackage, bigstringaf, cstruct, @@ -29,6 +35,10 @@ let minimalOCamlVersion = "5.1"; hash = "sha256-N5LpEr2NSUuy449zCBgl5NISsZcM8sHxspZsqp/WvEA="; }; + "1.3" = { + minimalOCamlVersion = "5.2"; + hash = "sha256-jtXBPmaJ8xyF3KXxJ2LYS4zABCp7B9PkZN9utLcrPfw="; + }; } ."${version}"; in