ocamlPackages.mirage-xen: init at 6.0.0

Unfortunately this requires a bit of trickery with pkg-config to get to
work. The root issue is that the mirage-xen assumes that we use the
default libdir of dune ($out/lib) whereas we install to an OCaml
version-specific site-lib directory. Thus the manually created
pkg-config file makes wrong assumptions (which warrants a patch) and the
.pc file is installed to the wrong location (which is fixed with a mv
invocation).
This commit is contained in:
sternenseemann
2021-04-25 13:13:23 +02:00
parent b5f7ed7cc8
commit 980a2bed3b
4 changed files with 105 additions and 0 deletions
+2
View File
@@ -739,6 +739,8 @@ let
mirage-unix = callPackage ../development/ocaml-modules/mirage-unix { };
mirage-xen = callPackage ../development/ocaml-modules/mirage-xen { };
mirage-vnetif = callPackage ../development/ocaml-modules/mirage-vnetif { };
mlgmp = callPackage ../development/ocaml-modules/mlgmp { };