From 017b80f490207e07bd09240fa0c667c5816c5856 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 1 Aug 2022 08:38:50 +0000 Subject: [PATCH] linuxPackages.xmm7360-pci: respect allowAliases Fixes: 8687bf7e9c2 ("linuxPackages*.xmm7360-pci: drop") --- pkgs/top-level/linux-kernels.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/top-level/linux-kernels.nix b/pkgs/top-level/linux-kernels.nix index 1ae512456f5c..f4c46ab97cc1 100644 --- a/pkgs/top-level/linux-kernels.nix +++ b/pkgs/top-level/linux-kernels.nix @@ -483,8 +483,6 @@ in { x86_energy_perf_policy = callPackage ../os-specific/linux/x86_energy_perf_policy { }; - xmm7360-pci = throw "Support for the XMM7360 WWAN card was added to the iosm kmod in mainline kernel version 5.18"; - xone = if lib.versionAtLeast kernel.version "5.4" then callPackage ../os-specific/linux/xone { } else null; xpadneo = callPackage ../os-specific/linux/xpadneo { }; @@ -507,6 +505,7 @@ in { } // lib.optionalAttrs config.allowAliases { ati_drivers_x11 = throw "ati drivers are no longer supported by any kernel >=4.1"; # added 2021-05-18; + xmm7360-pci = throw "Support for the XMM7360 WWAN card was added to the iosm kmod in mainline kernel version 5.18"; }); hardenedPackagesFor = kernel: overrides: packagesFor (hardenedKernelFor kernel overrides);