tt-rss: 2021-06-21 -> 2022-08-01

Pull in a year of upstream changes.
This update will involve two database migrations when logging in to the
resulting service.
This commit is contained in:
Smaug123 2022-08-01 09:05:12 +01:00 committed by Jörg Thalheim
parent 5c4ca40f94
commit 73a4e61349
3 changed files with 16 additions and 9 deletions

View file

@ -1129,6 +1129,13 @@
<link xlink:href="options.html#opt-systemd.oomd.enableUserServices">systemd.oomd.enableUserServices</link>.
</para>
</listitem>
<listitem>
<para>
The <literal>tt-rss</literal> service performs two database
migrations when you first use its web UI after upgrade.
Consider backing up its database before updating.
</para>
</listitem>
<listitem>
<para>
The <literal>pass-secret-service</literal> package now

View file

@ -346,6 +346,8 @@ Available as [services.patroni](options.html#opt-services.patroni.enable).
[systemd.oomd.enableRootSlice](options.html#opt-systemd.oomd.enableRootSlice),
[systemd.oomd.enableSystemSlice](options.html#opt-systemd.oomd.enableSystemSlice),
and [systemd.oomd.enableUserServices](options.html#opt-systemd.oomd.enableUserServices).
- The `tt-rss` service performs two database migrations when you first use its web UI after upgrade. Consider backing up its database before updating.
- The `pass-secret-service` package now includes systemd units from upstream, so adding it to the NixOS `services.dbus.packages` option will make it start automatically as a systemd user service when an application tries to talk to the libsecret D-Bus API.

View file

@ -1,16 +1,14 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchgit }:
stdenv.mkDerivation rec {
pname = "tt-rss";
year = "21";
month = "06";
day = "21";
version = "20${year}-${month}-${day}";
version = "unstable-2022-08-01";
rev = "cd26dbe64c9b14418f0b2d826a38a35c6bf8a270";
src = fetchurl {
url = "https://git.tt-rss.org/fox/tt-rss/archive/${rev}.tar.gz";
sha256 = "1dpmzi7hknv5rk2g1iw13r8zcxcwrhkd5hhf292ml0dw3cwki0gm";
src = fetchgit {
url = "https://git.tt-rss.org/fox/tt-rss.git";
rev = "ed2cbeffcc456a86726b52d37c977a35b895968c";
sha256 = "0ab1q316y4f432z2kwn86kc144awk529cild7b4jbffh2ydlj3r4";
};
installPhase = ''
@ -21,7 +19,7 @@ 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 "${year}.${month}" > $out/version_static.txt
echo "22.08" > $out/version_static.txt
runHook postInstall
'';