mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
qemu: Allow building only the x86 emulator
This commit is contained in:
parent
b625a16068
commit
abc10b4715
@ -3,6 +3,7 @@
|
||||
, sdlSupport ? true, SDL
|
||||
, vncSupport ? true, libjpeg, libpng
|
||||
, spiceSupport ? false, spice, spice_protocol
|
||||
, x86Only ? false
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -27,7 +28,8 @@ stdenv.mkDerivation rec {
|
||||
[ "--audio-drv-list=alsa"
|
||||
"--smbd=smbd" # use `smbd' from $PATH
|
||||
]
|
||||
++ stdenv.lib.optional spiceSupport "--enable-spice";
|
||||
++ stdenv.lib.optional spiceSupport "--enable-spice"
|
||||
++ stdenv.lib.optional x86Only "--target-list=i386-softmmu,x86_64-softmmu";
|
||||
|
||||
meta = {
|
||||
homepage = http://www.qemu.org/;
|
||||
|
Loading…
Reference in New Issue
Block a user