forked from mirrors/nixpkgs
qemu: fix darwin build
This commit is contained in:
parent
8edb13f079
commit
bca24c02ac
|
@ -8,7 +8,7 @@
|
|||
, seccompSupport ? stdenv.isLinux, libseccomp
|
||||
, pulseSupport ? !stdenv.isDarwin, libpulseaudio
|
||||
, sdlSupport ? !stdenv.isDarwin, SDL2
|
||||
, gtkSupport ? !xenSupport, gtk3, gettext, gnome3
|
||||
, gtkSupport ? !stdenv.isDarwin && !xenSupport, gtk3, gettext, gnome3
|
||||
, vncSupport ? true, libjpeg, libpng
|
||||
, spiceSupport ? !stdenv.isDarwin, spice, spice-protocol
|
||||
, usbredirSupport ? spiceSupport, usbredir
|
||||
|
@ -107,6 +107,8 @@ stdenv.mkDerivation rec {
|
|||
"--sysconfdir=/etc"
|
||||
"--localstatedir=/var"
|
||||
]
|
||||
# disable sysctl check on darwin.
|
||||
++ optional stdenv.isDarwin "--cpu=x86_64"
|
||||
++ optional numaSupport "--enable-numa"
|
||||
++ optional seccompSupport "--enable-seccomp"
|
||||
++ optional spiceSupport "--enable-spice"
|
||||
|
|
Loading…
Reference in a new issue