From 27ca6c29398125784d07f4d5f447407550bc1c80 Mon Sep 17 00:00:00 2001 From: David Terry Date: Mon, 30 Dec 2019 23:09:26 +0100 Subject: [PATCH] linuxPackagesFor: wireguard: noop for kernel >= 5.6 --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d88da5d2a98b..b1e80c0d4b47 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };