From 7fd92eb829ad6266ea296db6c3bba35f9a7a31cc Mon Sep 17 00:00:00 2001 From: LucasFA <23667494+LucasFA@users.noreply.github.com> Date: Tue, 20 May 2025 17:56:42 +0100 Subject: [PATCH] ithc: mark broken for kernels >= 6.10 This was fixed upstream in https://github.com/quo/ithc-linux/pull/30 However, according to their README, the driver is included in the Linux Surface kernel already, see [1]. That may call into question the need to keep it in Nixpkgs long term, specially when NixOS/nixos-hardware[2] already uses those patches ---- [1]: https://github.com/quo/ithc-linux/commit/0b8b45d [2]: https://github.com/NixOS/nixos-hardware/tree/master/microsoft/surface) --- pkgs/os-specific/linux/ithc/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/ithc/default.nix b/pkgs/os-specific/linux/ithc/default.nix index 9f721bfae939..e9dce7825361 100644 --- a/pkgs/os-specific/linux/ithc/default.nix +++ b/pkgs/os-specific/linux/ithc/default.nix @@ -36,6 +36,6 @@ stdenv.mkDerivation rec { license = licenses.publicDomain; maintainers = with maintainers; [ aacebedo ]; platforms = platforms.linux; - broken = kernel.kernelOlder "5.9"; + broken = kernel.kernelOlder "5.9" || kernel.kernelAtLeast "6.10"; }; }