Merge pull request #76722 from xwvvvvwx/wireguard-kernel-versions
linuxPackagesFor: wireguard: respect supported kernel versions
This commit is contained in:
commit
073623d335
@ -16472,7 +16472,7 @@ in
|
||||
virtualbox = pkgs.virtualboxHardened;
|
||||
};
|
||||
|
||||
wireguard = callPackage ../os-specific/linux/wireguard { };
|
||||
wireguard = if lib.versionOlder kernel.version "5.6" then callPackage ../os-specific/linux/wireguard { } else null;
|
||||
|
||||
x86_energy_perf_policy = callPackage ../os-specific/linux/x86_energy_perf_policy { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user