From 965c224275f14d7b0dcb1f49ad04cbb2e40c2da2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=B7=F0=90=91=91=F0=90=91=B4=F0=90=91=95=F0=90=91=91?= =?UTF-8?q?=F0=90=91=A9=F0=90=91=A4?= Date: Sun, 20 Jul 2025 18:11:14 +0700 Subject: [PATCH] =?UTF-8?q?ocamlPackages.eio:=201.2=20=E2=86=92=201.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/eio/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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