makeModulesClosure: Small cleanup
This commit is contained in:
parent
72a30ae66f
commit
030838ba25
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user