* KVM 57. (Newer versions don't compile against the current kernel headers.)
svn path=/nixpkgs/trunk/; revision=10534
This commit is contained in:
parent
dacb9baa92
commit
cde74730e8
24
pkgs/os-specific/linux/kvm/57.nix
Normal file
24
pkgs/os-specific/linux/kvm/57.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{stdenv, fetchurl, kernelHeaders, zlib, e2fsprogs, SDL, alsaLib}:
|
||||||
|
|
||||||
|
assert stdenv.isLinux;
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "kvm-57";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = mirror://sourceforge/kvm/kvm-57.tar.gz;
|
||||||
|
sha256 = "016h5pf59fyz7skzsaprii2mdpxpb8hfnnr1w475qcfyy6ccr9r0";
|
||||||
|
};
|
||||||
|
|
||||||
|
configureFlags = "--with-patched-kernel --kerneldir=${kernelHeaders}";
|
||||||
|
|
||||||
|
# e2fsprogs is needed for libuuid.
|
||||||
|
buildInputs = [zlib e2fsprogs SDL alsaLib];
|
||||||
|
|
||||||
|
preConfigure = "for i in configure user/configure; do substituteInPlace $i --replace /bin/bash $shell; done";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://kvm.qumranet.com/;
|
||||||
|
description = "A full virtualization solution for Linux on x86 hardware containing virtualization extensions";
|
||||||
|
};
|
||||||
|
}
|
@ -3728,7 +3728,7 @@ rec {
|
|||||||
kernel = systemKernel;
|
kernel = systemKernel;
|
||||||
};
|
};
|
||||||
|
|
||||||
kvm = kvm49;
|
kvm = kvm57;
|
||||||
|
|
||||||
kvm12 = import ../os-specific/linux/kvm/12.nix {
|
kvm12 = import ../os-specific/linux/kvm/12.nix {
|
||||||
inherit fetchurl zlib e2fsprogs SDL alsaLib;
|
inherit fetchurl zlib e2fsprogs SDL alsaLib;
|
||||||
@ -3748,6 +3748,12 @@ rec {
|
|||||||
kernelHeaders = kernelHeaders_2_6_23;
|
kernelHeaders = kernelHeaders_2_6_23;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
kvm57 = import ../os-specific/linux/kvm/57.nix {
|
||||||
|
inherit fetchurl zlib e2fsprogs SDL alsaLib;
|
||||||
|
stdenv = overrideGCC stdenv gcc34;
|
||||||
|
kernelHeaders = kernelHeaders_2_6_23;
|
||||||
|
};
|
||||||
|
|
||||||
libcap = import ../os-specific/linux/libcap {
|
libcap = import ../os-specific/linux/libcap {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user