f60921aeed
But hold onto 0.12 for OCaml 5.0 https://github.com/ocaml-multicore/eio/releases/tag/v0.13
22 lines
298 B
Nix
22 lines
298 B
Nix
{ lib
|
|
, stdenv
|
|
, buildDunePackage
|
|
, eio
|
|
, eio_posix
|
|
, eio_linux
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "eio_main";
|
|
inherit (eio) meta src version;
|
|
|
|
minimalOCamlVersion = "5.0";
|
|
|
|
dontStrip = true;
|
|
|
|
propagatedBuildInputs = [
|
|
eio_posix
|
|
] ++ lib.optionals stdenv.isLinux [
|
|
eio_linux
|
|
];
|
|
}
|