From 80c40aaa91f094a08bdea47dadd275d277849204 Mon Sep 17 00:00:00 2001 From: linsui Date: Sat, 10 Sep 2022 19:47:11 +0800 Subject: [PATCH] sticky: fix updateScript --- pkgs/applications/misc/sticky/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/applications/misc/sticky/default.nix b/pkgs/applications/misc/sticky/default.nix index 98c844c696ce..9710399ab635 100644 --- a/pkgs/applications/misc/sticky/default.nix +++ b/pkgs/applications/misc/sticky/default.nix @@ -7,6 +7,7 @@ , gspell , gtk3 , gobject-introspection +, gitUpdater }: python3.pkgs.buildPythonApplication rec { @@ -73,6 +74,13 @@ python3.pkgs.buildPythonApplication rec { makeWrapperArgs+=("''${gappsWrapperArgs[@]}") ''; + passthru = { + updateScript = gitUpdater { + inherit pname version; + ignoredVersions = ''master.*''; + }; + }; + meta = with lib; { description = "A sticky notes app for the linux desktop"; homepage = "https://github.com/linuxmint/sticky";