linuxPackages.nct6687d: add updateScript

This commit is contained in:
Atemu 2024-04-19 13:53:28 +02:00
parent 5672bc9dbf
commit 2dc85cf8c0
1 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,7 @@
, stdenv
, fetchFromGitHub
, kernel
, nix-update-script
}:
stdenv.mkDerivation rec {
@ -30,6 +31,10 @@ stdenv.mkDerivation rec {
installFlags = [ "INSTALL_MOD_PATH=${placeholder "out"}" ];
installTargets = [ "modules_install" ];
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch=main" ];
};
meta = with lib; {
description = "Kernel module for the Nuvoton NCT6687-R chipset found on many B550/B650 motherboards from ASUS and MSI";
license = with licenses; [ gpl2Only ];