nixos/tests/wireguard: tie kernel version to test to default
When wireguard began being tested on multiple kernel versions, the
current default version at the time was hard coded:
41bd6d2614
.
We should update this and prevent it from becoming stale ever again by
computing the default value.
This commit is contained in:
parent
b5f465a02f
commit
891a1f78e8
@ -1,7 +1,8 @@
|
|||||||
{ system ? builtins.currentSystem
|
{ system ? builtins.currentSystem
|
||||||
, config ? { }
|
, config ? { }
|
||||||
, pkgs ? import ../../.. { inherit system 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;
|
with pkgs.lib;
|
||||||
|
Loading…
Reference in New Issue
Block a user