From caf07b0ebf5ddad6b9be0a1295e9c032379558d9 Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Wed, 30 Dec 2020 16:08:40 +0100 Subject: ocamlPackages.mirage: reintroduce dev output The changed dune install directive to install libraries to the dev output was removed by mistake. --- pkgs/development/ocaml-modules/mirage/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'pkgs/development/ocaml-modules') diff --git a/pkgs/development/ocaml-modules/mirage/default.nix b/pkgs/development/ocaml-modules/mirage/default.nix index 5160734e4f89..6b8bcb1fbe94 100644 --- a/pkgs/development/ocaml-modules/mirage/default.nix +++ b/pkgs/development/ocaml-modules/mirage/default.nix @@ -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"; }; -- cgit 1.4.1