Merge pull request #76722 from xwvvvvwx/wireguard-kernel-versions

linuxPackagesFor: wireguard: respect supported kernel versions
This commit is contained in:
Jörg Thalheim 2019-12-31 11:47:27 +00:00 committed by GitHub
commit 073623d335
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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