Merge pull request #278034 from trofi/nixosTests.kernel-generic-fix-eval

nixosTests.kernel-generic: fix the eval
This commit is contained in:
Mario Rodas 2024-02-05 08:15:20 -05:00 committed by GitHub
commit 5ee614b31c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ let
assert "${linuxPackages.kernel.modDirVersion}" in machine.succeed("uname -a")
'';
}) args);
kernels = pkgs.linuxKernel.vanillaPackages // {
kernels = (removeAttrs pkgs.linuxKernel.vanillaPackages ["__attrsFailEvaluation"]) // {
inherit (pkgs.linuxKernel.packages)
linux_4_19_hardened
linux_5_4_hardened