nixos/tests/wireguard: tie kernel version to test to default (#338632)

This commit is contained in:
Maximilian Bosch 2024-09-01 00:06:25 +02:00 committed by GitHub
commit 9ac9a9c2f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,8 @@
{ system ? builtins.currentSystem
, config ? { }
, pkgs ? import ../../.. { inherit system config; }
, kernelVersionsToTest ? [ "5.4" "latest" ]
# Test current default (LTS) and latest kernel
, kernelVersionsToTest ? [ (pkgs.lib.versions.majorMinor pkgs.linuxPackages.kernel.version) "latest" ]
}:
with pkgs.lib;