Let virtualbox build on linux 3.3+
svn path=/nixpkgs/trunk/; revision=33498
This commit is contained in:
parent
7f5520bfba
commit
5f01a1d8b6
@ -13,6 +13,8 @@ let version = "4.1.10"; in
|
||||
stdenv.mkDerivation {
|
||||
name = "virtualbox-${version}-${kernel.version}";
|
||||
|
||||
NIX_CFLAGS_COMPILE="-I${kernel}/lib/modules/${kernel.modDirVersion}/build/include/generated";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.virtualbox.org/virtualbox/${version}/VirtualBox-${version}.tar.bz2";
|
||||
sha256 = "1gsp3arp79x6gmh403sayh4lzr3l8fc3anp664fyl1dl0ykgmqs7";
|
||||
|
Loading…
Reference in New Issue
Block a user