kanata: add a version check using versionCheckHook (#347822)

This commit is contained in:
Ramses
2024-10-12 01:34:01 +02:00
committed by GitHub
+6
View File
@@ -5,6 +5,7 @@
, fetchFromGitHub
, jq
, moreutils
, versionCheckHook
, nix-update-script
, withCmd ? false
}:
@@ -51,6 +52,11 @@ rustPlatform.buildRustPackage rec {
install -Dm 444 assets/kanata-icon.svg $out/share/icons/hicolor/scalable/apps/kanata.svg
'';
doInstallCheck = true;
nativeInstallCheckInputs = [
versionCheckHook
];
passthru = {
updateScript = nix-update-script { };
};