Fixed installation of virtualbox kernel modules
svn path=/nixpkgs/trunk/; revision=20077
This commit is contained in:
parent
a3282d5e3e
commit
b036ee727a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user