ocamlPackages.eio: 0.15 → 1.0

This commit is contained in:
toastal 2024-03-11 13:37:34 +07:00
parent b9c62102fc
commit 998959464d

View file

@ -1,6 +1,6 @@
{ lib { lib
, ocaml , ocaml
, version ? if lib.versionAtLeast ocaml.version "5.1" then "0.15" else "0.12" , version ? if lib.versionAtLeast ocaml.version "5.1" then "1.0" else "0.12"
, buildDunePackage , buildDunePackage
, bigstringaf , bigstringaf
, cstruct , cstruct
@ -24,9 +24,9 @@ let
minimalOCamlVersion = "5.0"; minimalOCamlVersion = "5.0";
hash = "sha256-2EhHzoX/t4ZBSWrSS+PGq1zCxohc7a1q4lfsrFnZJqA="; hash = "sha256-2EhHzoX/t4ZBSWrSS+PGq1zCxohc7a1q4lfsrFnZJqA=";
}; };
"0.15" = { "1.0" = {
minimalOCamlVersion = "5.1"; minimalOCamlVersion = "5.1";
hash = "sha256-gH7O8zfdqEmwXT29F6ko5vXGNudusV4iE2Z8kRJ3GKc="; hash = "sha256-2iYNnaOLPd6fMWZSogsTomHPkLhaJJisZpt9Vk5hlC0=";
}; };
}."${version}"; }."${version}";
in in