about summary refs log tree commit diff
path: root/pkgs/sternenseemann
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-04-13 11:15:15 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-04-13 11:15:15 +0200
commit0f199c27f3ed33feacc83dc57a40667e4cb32795 (patch)
treef0eb28c8579e50311a5a5d44088e07f0e7cfcf88 /pkgs/sternenseemann
parenta799173a031f2acbfaf2b6b6955c7c8288a16c70 (diff)
modules/core/tests: adjust for new kernel test structure
The kernel-lts and kernel-latest tests seem to have been removed (not
sure when exactly, didn't blame). Instead we can use
nixosTests.kernel-generic."linux_${major}_${minor}". This allows us to
easily check for tests for arbitrary kernel versions as well.

However there is currently a bug that these are returned as functions
instead of derivations at the moment which will hopefully be fixed by my
upstream PR soon. Until that happens we check if the test is a
derivation or not with lib.isDerivation.

cc @aszlig for comments / further improvements. Main intention right now
is to fix eval in a future proof way.
Diffstat (limited to 'pkgs/sternenseemann')
0 files changed, 0 insertions, 0 deletions