kernel: Add tests to passthru.tests

This commit is contained in:
Tim Steinbach
2021-04-08 09:00:15 -04:00
committed by Tim Steinbach
parent 2e2a36f082
commit bd7fed9a2f
4 changed files with 35 additions and 2 deletions
+2 -1
View File
@@ -55,7 +55,7 @@
, autoModules ? stdenv.hostPlatform.linux-kernel.autoModules
, preferBuiltin ? stdenv.hostPlatform.linux-kernel.preferBuiltin or false
, kernelArch ? stdenv.hostPlatform.linuxArch
, kernelTests ? []
, ...
}:
@@ -182,6 +182,7 @@ let
kernelOlder = lib.versionOlder version;
kernelAtLeast = lib.versionAtLeast version;
passthru = kernel.passthru // (removeAttrs passthru [ "passthru" ]);
tests = kernelTests;
};
in lib.extendDerivation true passthru kernel