qemu: Enable virtfs

This makes it possible to share host directories to qemu guests
using 9P.
This commit is contained in:
Rickard Nilsson 2013-06-25 10:03:00 +02:00
parent 97bf9fbbc8
commit 270da328b9

View File

@ -1,4 +1,5 @@
{ stdenv, fetchurl, python, zlib, pkgconfig, glib, SDL, ncurses, perl, pixman }:
{ stdenv, fetchurl, python, zlib, pkgconfig, glib, SDL, ncurses, perl, pixman
, attr, libcap }:
stdenv.mkDerivation rec {
name = "qemu-1.4.0";
@ -8,10 +9,16 @@ stdenv.mkDerivation rec {
sha256 = "1a7d11vjs1p6i1ck2ff9annmkhpkbjl73hl9i1cbg3s0fznrfqh6";
};
buildInputs = [ python zlib pkgconfig glib SDL ncurses perl pixman ];
buildInputs = [
python zlib pkgconfig glib SDL ncurses perl pixman attr libcap
];
enableParallelBuilding = true;
configureFlags = [
"--enable-virtfs"
];
meta = {
description = "QEmu processor emulator";
license = "GPLv2+";