1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/nixos/modules
aszlig 8bd89c922d
virtualbox: Split kernel modules into own package
Putting the kernel modules into the same output path as the main
VirtualBox derivation causes all of VirtualBox to be rebuilt on every
single kernel update.

The build process of VirtualBox already outputs the kernel module source
along with the generated files for the configuration of the main
VirtualBox package. We put this into a different output called "modsrc"
which we re-use from linuxPackages.virtualbox, which is now only
containing the resulting kernel modules without the main user space
implementation.

This not only has the advantage of decluttering the Nix expression for
the user space portions but also gets rid of the need to nuke references
and the need to patch out "depmod -a".

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-09-13 06:12:38 +02:00
..
config
hardware
i18n/input-method
installer
misc
profiles
programs
security
services audio services: use mkEnableOption (#18524) 2016-09-12 04:47:08 +02:00
system
tasks
testing
virtualisation virtualbox: Split kernel modules into own package 2016-09-13 06:12:38 +02:00
module-list.nix prometheus service: move to separate folder 2016-09-11 23:20:26 +02:00
rename.nix