diff --git a/pkgs/os-specific/linux/nct6687d/default.nix b/pkgs/os-specific/linux/nct6687d/default.nix index 493d0e6af101..35e77c7922df 100644 --- a/pkgs/os-specific/linux/nct6687d/default.nix +++ b/pkgs/os-specific/linux/nct6687d/default.nix @@ -2,17 +2,18 @@ , stdenv , fetchFromGitHub , kernel +, nix-update-script }: stdenv.mkDerivation rec { pname = "nct6687d"; - version = "unstable-2023-09-22"; + version = "0-unstable-2024-02-23"; src = fetchFromGitHub { owner = "Fred78290"; repo = "nct6687d"; - rev = "cdfe855342a9383a9c4c918d51576c36d989070d"; - hash = "sha256-iOLWxj4I6oYkNXFSkmw7meTQEnrIfb4Mw+/LkzgzDxM="; + rev = "0ee35ed9541bde22fe219305d1647b51ed010c5e"; + hash = "sha256-g81U+ngnsOslBDCQP51uDDyHPpCv9T/j+KmFUAQfz/M="; }; setSourceRoot = '' @@ -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 ];