3
0
Fork 0
forked from mirrors/nixpkgs

nixos/kernel: test all upstream kernels, reference linuxKernel directly

This commit is contained in:
Dominik Xaver Hörl 2021-11-01 10:18:46 +01:00
parent 4fb4b64362
commit 256a798f82

View file

@ -23,22 +23,14 @@ let
assert "${linuxPackages.kernel.modDirVersion}" in machine.succeed("uname -a")
'';
}) args);
kernels = {
inherit (pkgs)
linuxPackages_4_4
linuxPackages_4_9
linuxPackages_4_14
linuxPackages_4_19
linuxPackages_5_4
linuxPackages_5_10
linuxPackages_5_14
kernels = pkgs.linuxKernel.vanillaPackages // {
inherit (pkgs.linuxKernel.packages)
linux_4_14_hardened
linux_4_19_hardened
linux_5_4_hardened
linux_5_10_hardened
linuxPackages_4_14_hardened
linuxPackages_4_19_hardened
linuxPackages_5_4_hardened
linuxPackages_5_10_hardened
linuxPackages_testing;
linux_testing;
};
in mapAttrs (_: lP: testsForLinuxPackages lP) kernels // {