Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
54 lines
746 B
Nix
54 lines
746 B
Nix
{
|
|
buildDunePackage,
|
|
ocaml,
|
|
mirage-runtime,
|
|
astring,
|
|
bos,
|
|
cmdliner,
|
|
emile,
|
|
fmt,
|
|
fpath,
|
|
ipaddr,
|
|
logs,
|
|
rresult,
|
|
uri,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "mirage";
|
|
inherit (mirage-runtime) version src;
|
|
|
|
minimalOCamlVersion = "4.13";
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
astring
|
|
bos
|
|
cmdliner
|
|
emile
|
|
fmt
|
|
fpath
|
|
ipaddr
|
|
logs
|
|
rresult
|
|
uri
|
|
];
|
|
|
|
# Tests need opam-monorepo
|
|
doCheck = false;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
dune install --prefix=$out --libdir=$dev/lib/ocaml/${ocaml.version}/site-lib/ ${pname}
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = mirage-runtime.meta // {
|
|
description = "MirageOS library operating system";
|
|
};
|
|
}
|