Merge pull request #246187 from SuperSamus/hid-nintendo-remove
hid-nintendo: remove
This commit is contained in:
commit
62f11e9e1d
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.services.joycond;
|
cfg = config.services.joycond;
|
||||||
kernelPackages = config.boot.kernelPackages;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
@ -24,8 +23,6 @@ with lib;
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.systemPackages = [ cfg.package ];
|
environment.systemPackages = [ cfg.package ];
|
||||||
|
|
||||||
boot.extraModulePackages = optional (versionOlder kernelPackages.kernel.version "5.16") kernelPackages.hid-nintendo;
|
|
||||||
|
|
||||||
services.udev.packages = [ cfg.package ];
|
services.udev.packages = [ cfg.package ];
|
||||||
|
|
||||||
systemd.packages = [ cfg.package ];
|
systemd.packages = [ cfg.package ];
|
||||||
|
|
|
@ -1,42 +0,0 @@
|
||||||
{ lib
|
|
||||||
, stdenv
|
|
||||||
, fetchFromGitHub
|
|
||||||
, kernel
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
|
||||||
pname = "hid-nintendo";
|
|
||||||
version = "3.2";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "nicman23";
|
|
||||||
repo = "dkms-hid-nintendo";
|
|
||||||
rev = finalAttrs.version;
|
|
||||||
hash = "sha256-2a+95zwyhJsF/KSo/Pm/JZ7ktDG02UZjsixSnVUXRrA=";
|
|
||||||
};
|
|
||||||
|
|
||||||
setSourceRoot = ''
|
|
||||||
export sourceRoot=$(pwd)/source/src
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
|
||||||
|
|
||||||
makeFlags = kernel.makeFlags ++ [
|
|
||||||
"-C"
|
|
||||||
"${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
|
||||||
"M=$(sourceRoot)"
|
|
||||||
];
|
|
||||||
|
|
||||||
buildFlags = [ "modules" ];
|
|
||||||
installFlags = [ "INSTALL_MOD_PATH=${placeholder "out"}" ];
|
|
||||||
installTargets = [ "modules_install" ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = "https://github.com/nicman23/dkms-hid-nintendo";
|
|
||||||
description = "A Nintendo HID kernel module";
|
|
||||||
license = lib.licenses.gpl2Plus;
|
|
||||||
maintainers = [ ];
|
|
||||||
platforms = lib.platforms.linux;
|
|
||||||
broken = lib.versionOlder kernel.version "4.14";
|
|
||||||
};
|
|
||||||
})
|
|
|
@ -347,7 +347,6 @@ in {
|
||||||
fwts-efi-runtime = callPackage ../os-specific/linux/fwts/module.nix { };
|
fwts-efi-runtime = callPackage ../os-specific/linux/fwts/module.nix { };
|
||||||
|
|
||||||
gcadapter-oc-kmod = callPackage ../os-specific/linux/gcadapter-oc-kmod { };
|
gcadapter-oc-kmod = callPackage ../os-specific/linux/gcadapter-oc-kmod { };
|
||||||
hid-nintendo = callPackage ../os-specific/linux/hid-nintendo { };
|
|
||||||
|
|
||||||
hyperv-daemons = callPackage ../os-specific/linux/hyperv-daemons { };
|
hyperv-daemons = callPackage ../os-specific/linux/hyperv-daemons { };
|
||||||
|
|
||||||
|
@ -556,6 +555,7 @@ in {
|
||||||
|
|
||||||
} // lib.optionalAttrs config.allowAliases {
|
} // lib.optionalAttrs config.allowAliases {
|
||||||
ati_drivers_x11 = throw "ati drivers are no longer supported by any kernel >=4.1"; # added 2021-05-18;
|
ati_drivers_x11 = throw "ati drivers are no longer supported by any kernel >=4.1"; # added 2021-05-18;
|
||||||
|
hid-nintendo = throw "hid-nintendo was added in mainline kernel version 5.16"; # Added 2023-07-30
|
||||||
sch_cake = throw "sch_cake was added in mainline kernel version 4.19"; # Added 2023-06-14
|
sch_cake = throw "sch_cake was added in mainline kernel version 4.19"; # Added 2023-06-14
|
||||||
rtl8723bs = throw "rtl8723bs was added in mainline kernel version 4.12"; # Added 2023-06-14
|
rtl8723bs = throw "rtl8723bs was added in mainline kernel version 4.12"; # Added 2023-06-14
|
||||||
xmm7360-pci = throw "Support for the XMM7360 WWAN card was added to the iosm kmod in mainline kernel version 5.18";
|
xmm7360-pci = throw "Support for the XMM7360 WWAN card was added to the iosm kmod in mainline kernel version 5.18";
|
||||||
|
|
Loading…
Reference in a new issue