1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/os-specific/linux/kvm/17.nix
Eelco Dolstra 5990a432d4 * KVM-17.
svn path=/nixpkgs/trunk/; revision=8839
2007-06-07 13:46:50 +00:00

18 lines
555 B
Nix

{stdenv, fetchurl, kernelHeaders, zlib, e2fsprogs, SDL, alsaLib}:
stdenv.mkDerivation {
name = "kvm-17";
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/kvm/kvm-17.tar.gz;
sha256 = "1c9g92258wbadh6q8m9vp4zszbr50a5crn93iy69s5bkg3n3vs43";
};
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";
}