nixpkgs/pkgs/development/ocaml-modules/eio/main.nix
2023-11-03 20:42:04 +01:00

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
];
}