libguestfs: fix sandbox build
This commit is contained in:
parent
06718493c0
commit
f3b899d3a6
@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
|
|||||||
# some scripts hardcore /usr/bin/env which is not available in the build env
|
# some scripts hardcore /usr/bin/env which is not available in the build env
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
'';
|
'';
|
||||||
configureFlags = [ "--disable-appliance" "--disable-daemon" ]
|
configureFlags = [ "--disable-appliance" "--disable-daemon" "--with-distro=NixOS" ]
|
||||||
++ stdenv.lib.optionals (!javaSupport) [ "--disable-java" "--without-java" ];
|
++ stdenv.lib.optionals (!javaSupport) [ "--disable-java" "--without-java" ];
|
||||||
patches = [ ./libguestfs-syms.patch ];
|
patches = [ ./libguestfs-syms.patch ];
|
||||||
NIX_CFLAGS_COMPILE="-I${libxml2.dev}/include/libxml2/";
|
NIX_CFLAGS_COMPILE="-I${libxml2.dev}/include/libxml2/";
|
||||||
|
Loading…
Reference in New Issue
Block a user