tuxedo-drivers: add update script

This commit is contained in:
April John 2025-04-23 17:41:33 +02:00
parent 4513971596
commit 01af132eb6

View File

@ -6,6 +6,7 @@
kernelModuleMakeFlags, kernelModuleMakeFlags,
kmod, kmod,
pahole, pahole,
gitUpdater
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
@ -29,6 +30,10 @@ stdenv.mkDerivation (finalAttrs: {
"INSTALL_MOD_PATH=${placeholder "out"}" "INSTALL_MOD_PATH=${placeholder "out"}"
]; ];
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
meta = { meta = {
broken = stdenv.hostPlatform.isAarch64 || (lib.versionOlder kernel.version "5.5"); broken = stdenv.hostPlatform.isAarch64 || (lib.versionOlder kernel.version "5.5");
description = "Keyboard and hardware I/O driver for TUXEDO Computers laptops"; description = "Keyboard and hardware I/O driver for TUXEDO Computers laptops";