Commit a7265f5f authored by LucasFA's avatar LucasFA
Browse files

hid-ite8291r3: add updateScript

Notably, the package is broken for kernels >= 6.15 until
the following commit is merged:

https://github.com/pobrn/hid-ite8291r3/commit/961702de7d80609a2a21567e44dd2fe860b96c87
parent cd31ca19
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  fetchFromGitHub,
  kernel,
  kernelModuleMakeFlags,
  nix-update-script,
}:

stdenv.mkDerivation rec {
@@ -30,6 +31,10 @@ stdenv.mkDerivation rec {
    runHook postInstall
  '';

  passthru.updateScript = nix-update-script {
    extraArgs = [ "--version=branch" ];
  };

  meta = with lib; {
    description = "Linux driver for the ITE 8291 RGB keyboard backlight controller";
    homepage = "https://github.com/pobrn/hid-ite8291r3/";