mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
f60921aeed
But hold onto 0.12 for OCaml 5.0 https://github.com/ocaml-multicore/eio/releases/tag/v0.13
23 lines
298 B
Nix
23 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
|
|
];
|
|
}
|