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:
parent
6c71f432bd
commit
caf07b0ebf
1 changed files with 7 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, buildDunePackage, alcotest
|
{ lib, buildDunePackage, ocaml, alcotest
|
||||||
, functoria, mirage-runtime, bos
|
, functoria, mirage-runtime, bos
|
||||||
, ipaddr, astring, logs, stdlib-shims
|
, ipaddr, astring, logs, stdlib-shims
|
||||||
}:
|
}:
|
||||||
|
@ -28,6 +28,12 @@ buildDunePackage rec {
|
||||||
alcotest
|
alcotest
|
||||||
];
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
dune install --prefix=$out --libdir=$dev/lib/ocaml/${ocaml.version}/site-lib/ ${pname}
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
meta = mirage-runtime.meta // {
|
meta = mirage-runtime.meta // {
|
||||||
description = "The MirageOS library operating system";
|
description = "The MirageOS library operating system";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue