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

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

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