From 209608eed3b360b2eae3e92c808a00cc83ce135f Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Sat, 14 Mar 2026 20:17:06 +0800 Subject: [PATCH] cinny-desktop: add update script --- pkgs/by-name/ci/cinny-desktop/package.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ci/cinny-desktop/package.nix b/pkgs/by-name/ci/cinny-desktop/package.nix index 28ff40f750f8..d4e8c53f6159 100644 --- a/pkgs/by-name/ci/cinny-desktop/package.nix +++ b/pkgs/by-name/ci/cinny-desktop/package.nix @@ -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";