ocamlPackages.mirage: reintroduce dev output

The changed dune install directive to install libraries to the dev
output was removed by mistake.
This commit is contained in:
sternenseemann 2020-12-30 16:08:40 +01:00 committed by Vincent Laporte
parent 6c71f432bd
commit caf07b0ebf

View file

@ -1,4 +1,4 @@
{ lib, buildDunePackage, alcotest
{ lib, buildDunePackage, ocaml, alcotest
, functoria, mirage-runtime, bos
, ipaddr, astring, logs, stdlib-shims
}:
@ -28,6 +28,12 @@ buildDunePackage rec {
alcotest
];
installPhase = ''
runHook preInstall
dune install --prefix=$out --libdir=$dev/lib/ocaml/${ocaml.version}/site-lib/ ${pname}
runHook postInstall
'';
meta = mirage-runtime.meta // {
description = "The MirageOS library operating system";
};