linuxPackagesFor: wireguard: noop for kernel >= 5.6

This commit is contained in:
David Terry 2019-12-30 23:09:26 +01:00
parent 97da2d22fe
commit 27ca6c2939
No known key found for this signature in database
GPG Key ID: D1920031620D057E

View File

@ -16495,7 +16495,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 { };