Skip to content

Commit 1756f4f

Browse files
committed
kanata: add update script
1 parent df75cd2 commit 1756f4f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkgs/tools/system/kanata/default.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
, fetchFromGitHub
66
, jq
77
, moreutils
8+
, nix-update-script
89
, withCmd ? false
910
}:
1011

@@ -50,6 +51,10 @@ rustPlatform.buildRustPackage rec {
5051
install -Dm 444 assets/kanata-icon.svg $out/share/icons/hicolor/scalable/apps/kanata.svg
5152
'';
5253

54+
passthru = {
55+
updateScript = nix-update-script { };
56+
};
57+
5358
meta = with lib; {
5459
description = "Tool to improve keyboard comfort and usability with advanced customization";
5560
homepage = "https://github.com/jtroo/kanata";

0 commit comments

Comments
 (0)