Skip to content

Commit

Permalink
tt-rss: Add updateScript
Browse files Browse the repository at this point in the history
  • Loading branch information
gileri committed Nov 16, 2024
1 parent cc2afaa commit 33e2e0a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/servers/tt-rss/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
stdenv,
fetchgit,
nixosTests,
unstableGitUpdater,
}:

stdenv.mkDerivation rec {
Expand All @@ -23,13 +24,14 @@ stdenv.mkDerivation rec {
# see the code of Config::get_version(). you can check that the version in
# the footer of the preferences pages is not UNKNOWN
echo "23.04" > $out/version_static.txt
echo "${version}" > $out/version_static.txt
runHook postInstall
'';

passthru = {
inherit (nixosTests) tt-rss;
updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };
};

meta = with lib; {
Expand Down

0 comments on commit 33e2e0a

Please sign in to comment.