diff options
author | Atemu <atemu.main@gmail.com> | 2023-08-06 15:45:09 +0200 |
---|---|---|
committer | Atemu <atemu.main@gmail.com> | 2023-08-06 15:47:54 +0200 |
commit | a0dcabb6907f00677af78a12fa90ff73bed31061 (patch) | |
tree | 84729c2607b32251b136b48c577b056e78f0b8ad /pkgs/os-specific/linux/kernel/generic.nix | |
parent | 6229f0bc8f4ae4c988e9d76937e0aaedea067de4 (diff) |
kernel: fix passthru.tests
https://github.com/NixOS/nixpkgs/pull/191540 indirectly broke kernel passthru.tests; calling the testsForLinuxPackages and testsForKernel functions with some args intended for some other exposed test-internal function. Organise the passed-through functions under `passthru` to prevent this from happening.
Diffstat (limited to 'pkgs/os-specific/linux/kernel/generic.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/generic.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kernel/generic.nix b/pkgs/os-specific/linux/kernel/generic.nix index 6605213490539..ade256802d6ef 100644 --- a/pkgs/os-specific/linux/kernel/generic.nix +++ b/pkgs/os-specific/linux/kernel/generic.nix @@ -220,7 +220,7 @@ let + toString (lib.attrNames (if lib.isAttrs args then args else args {})) ) overridableKernel; }; - in [ (nixosTests.kernel-generic.testsForKernel overridableKernel) ] ++ kernelTests; + in [ (nixosTests.kernel-generic.passthru.testsForKernel overridableKernel) ] ++ kernelTests; }; finalKernel = lib.extendDerivation true passthru kernel; |