aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/libguestfs
diff options
context:
space:
mode:
authorvolth <volth@webmaster.ms>2018-02-22 00:26:49 +0000
committerGitHub <noreply@github.com>2018-02-22 00:26:49 +0000
commitf3b899d3a6ea7d750879b270810823086fb9ad64 (patch)
treed0e09e545e223e4d160078d812e50daf9228b371 /pkgs/development/libraries/libguestfs
parent06718493c09b4bdf367367a607fe440e50cd8bef (diff)
libguestfs: fix sandbox build
Diffstat (limited to 'pkgs/development/libraries/libguestfs')
-rw-r--r--pkgs/development/libraries/libguestfs/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libguestfs/default.nix b/pkgs/development/libraries/libguestfs/default.nix
index 7e7f46673580..d7d0fbe8094d 100644
--- a/pkgs/development/libraries/libguestfs/default.nix
+++ b/pkgs/development/libraries/libguestfs/default.nix
@@ -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/";