makeModulesClosure: Small cleanup

This commit is contained in:
Eelco Dolstra 2016-02-01 17:39:24 +01:00
parent 72a30ae66f
commit 030838ba25
2 changed files with 2 additions and 4 deletions

View File

@ -9,7 +9,7 @@
stdenv.mkDerivation { stdenv.mkDerivation {
name = kernel.name + "-shrunk"; name = kernel.name + "-shrunk";
builder = ./modules-closure.sh; builder = ./modules-closure.sh;
buildInputs = [nukeReferences]; buildInputs = [ nukeReferences kmod ];
inherit kernel rootModules kmod allowMissing; inherit kernel rootModules allowMissing;
allowedReferences = ["out"]; allowedReferences = ["out"];
} }

View File

@ -2,8 +2,6 @@ source $stdenv/setup
set -o pipefail set -o pipefail
PATH=$kmod/sbin:$PATH
version=$(cd $kernel/lib/modules && ls -d *) version=$(cd $kernel/lib/modules && ls -d *)
echo "kernel version is $version" echo "kernel version is $version"