libguestfs: fix build with OCaml 4.12
This commit is contained in:
committed by
Vincent Laporte
parent
61a31ad3d6
commit
731288ed01
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
configureFlags = [ "--disable-appliance" "--disable-daemon" "--with-distro=NixOS" ]
|
||||
++ lib.optionals (!javaSupport) [ "--disable-java" "--without-java" ];
|
||||
patches = [ ./libguestfs-syms.patch ];
|
||||
patches = [ ./libguestfs-syms.patch ./ocaml-4.12.patch ];
|
||||
NIX_CFLAGS_COMPILE="-I${libxml2.dev}/include/libxml2/";
|
||||
installFlags = [ "REALLY_INSTALL=yes" ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
Reference in New Issue
Block a user