NixOS/nixpkgs — pull request #109 by aszlig (2012-08-17 11:07:13+00:00)
Title: virtualbox: Fix build for manual kernel.

This should fix building VirtualBox against kernels made using the new manual kernel configuration system.
In addition, this adds a small test case to the manual kernel, to ensure that modules can be built properly using kbuild.

And the latter (kbuild) is also used in the VirtualBox derivation, so we shouldn't trap into problems even with generic kernels (which i didn't test, yet so it would make sense to test it before merging...).