cinny-desktop: add update script

This commit is contained in:
Lu Wang
2026-03-14 20:17:06 +08:00
parent 0586c6b66f
commit 209608eed3
+9 -1
View File
@@ -14,6 +14,8 @@
webkitgtk_4_1,
jq,
moreutils,
nix-update-script,
_experimental-update-script-combinators,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -21,7 +23,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
# We have to be using the same version as cinny-web or this isn't going to work.
version = "4.11.1";
# nixpkgs-update: no auto update
src = fetchFromGitHub {
owner = "cinnyapp";
repo = "cinny-desktop";
@@ -87,6 +88,13 @@ rustPlatform.buildRustPackage (finalAttrs: {
webkitgtk_4_1
];
passthru = {
updateScript = _experimental-update-script-combinators.sequence [
(nix-update-script { attrPath = "cinny-unwrapped"; })
(nix-update-script { })
];
};
meta = {
description = "Yet another matrix client for desktop";
homepage = "https://github.com/cinnyapp/cinny-desktop";