QEMU-KVM: Add ncurses support.
svn path=/nixpkgs/trunk/; revision=27491
This commit is contained in:
parent
ba31e62e5a
commit
0c0f4d5eac
@ -1,8 +1,8 @@
|
|||||||
{ stdenv, fetchurl, zlib, SDL, alsaLib, pkgconfig, pciutils, libuuid, vde2
|
{ stdenv, fetchurl, zlib, SDL, alsaLib, pkgconfig, pciutils, libuuid, vde2
|
||||||
, libjpeg, libpng }:
|
, libjpeg, libpng, ncurses }:
|
||||||
|
|
||||||
assert stdenv.isLinux;
|
assert stdenv.isLinux;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "qemu-kvm-0.14.1";
|
name = "qemu-kvm-0.14.1";
|
||||||
|
|
||||||
@ -13,14 +13,17 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [ ./smb-tmpdir.patch ];
|
patches = [ ./smb-tmpdir.patch ];
|
||||||
|
|
||||||
buildInputs = [ zlib SDL alsaLib pkgconfig pciutils libuuid vde2 libjpeg libpng ];
|
buildInputs =
|
||||||
|
[ zlib SDL alsaLib pkgconfig pciutils libuuid vde2 libjpeg libpng
|
||||||
|
ncurses
|
||||||
|
];
|
||||||
|
|
||||||
preBuild =
|
preBuild =
|
||||||
''
|
''
|
||||||
# Don't use a hardcoded path to Samba.
|
# Don't use a hardcoded path to Samba.
|
||||||
substituteInPlace ./net.h --replace /usr/sbin/smbd smbd
|
substituteInPlace ./net.h --replace /usr/sbin/smbd smbd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
# extboot.bin isn't installed due to a bug in the Makefile.
|
# extboot.bin isn't installed due to a bug in the Makefile.
|
||||||
@ -35,5 +38,6 @@ stdenv.mkDerivation rec {
|
|||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.linux-kvm.org/;
|
homepage = http://www.linux-kvm.org/;
|
||||||
description = "A full virtualization solution for Linux on x86 hardware containing virtualization extensions";
|
description = "A full virtualization solution for Linux on x86 hardware containing virtualization extensions";
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user