mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
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
|
||||
patchShebangs .
|
||||
'';
|
||||
configureFlags = [ "--disable-appliance" "--disable-daemon" ]
|
||||
configureFlags = [ "--disable-appliance" "--disable-daemon" "--with-distro=NixOS" ]
|
||||
++ stdenv.lib.optionals (!javaSupport) [ "--disable-java" "--without-java" ];
|
||||
patches = [ ./libguestfs-syms.patch ];
|
||||
NIX_CFLAGS_COMPILE="-I${libxml2.dev}/include/libxml2/";
|
||||
|
Loading…
Reference in New Issue
Block a user