linuxPackages.xmm7360-pci: respect allowAliases

Fixes: 8687bf7e9c ("linuxPackages*.xmm7360-pci: drop")
This commit is contained in:
Alyssa Ross 2022-08-01 08:38:50 +00:00
parent 5a4ddc22a9
commit 017b80f490
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -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);