Fixed installation of virtualbox kernel modules

svn path=/nixpkgs/trunk/; revision=20077
This commit is contained in:
Sander van der Burg 2010-02-17 16:13:53 +00:00
parent a3282d5e3e
commit b036ee727a

View File

@ -54,6 +54,7 @@ stdenv.mkDerivation {
# Install kernel module
cd src
kernelVersion=$(cd ${kernel}/lib/modules; ls)
ensureDir $out/lib/modules/$kernelVersion/misc
export MODULE_DIR=$out/lib/modules/$kernelVersion/misc
ensureDir $MODULE_DIR
make install