virtualbox: Don't build modules for guests.

We're the host so we don't need the kernel modules for the guest additions, as
they're build with in a separate derivation anyway.
This commit is contained in:
aszlig 2012-08-18 16:52:51 +02:00
parent 9fb1d2e6fc
commit 1b8ec2eeec

View file

@ -11,8 +11,7 @@ with stdenv.lib;
let
version = "4.1.18";
forEachModule = action: ''
for makefile in $sourcedir/out/linux.*/release/bin/src/*/Makefile \
$sourcedir/out/linux.*/release/bin/additions/src/*/Makefile
for makefile in $sourcedir/out/linux.*/release/bin/src/*/Makefile
do
mod="$(dirname "$makefile")"
export INSTALL_MOD_PATH="$out"