makeModulesClosure: Use kmod instead of module-init-tools

This commit is contained in:
Eelco Dolstra
2013-08-07 22:46:11 +02:00
parent a9b4851b74
commit 4c77c6e232
3 changed files with 8 additions and 13 deletions
@@ -4,12 +4,12 @@
# Also generate an appropriate modules.dep.
{ stdenv, kernel, nukeReferences, rootModules
, module_init_tools, allowMissing ? false }:
, kmod, allowMissing ? false }:
stdenv.mkDerivation {
name = kernel.name + "-shrunk";
builder = ./modules-closure.sh;
buildInputs = [nukeReferences];
inherit kernel rootModules module_init_tools allowMissing;
inherit kernel rootModules kmod allowMissing;
allowedReferences = ["out"];
}