From 73a4e61349d1399b753ab3fc385fb80dd655d786 Mon Sep 17 00:00:00 2001 From: Smaug123 Date: Mon, 1 Aug 2022 09:05:12 +0100 Subject: [PATCH] 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. --- .../from_md/release-notes/rl-2211.section.xml | 7 +++++++ .../doc/manual/release-notes/rl-2211.section.md | 2 ++ pkgs/servers/tt-rss/default.nix | 16 +++++++--------- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml index 0fc9bdba99b1..d4c699921b75 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml @@ -1129,6 +1129,13 @@ 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 diff --git a/nixos/doc/manual/release-notes/rl-2211.section.md b/nixos/doc/manual/release-notes/rl-2211.section.md index a5d0b2dbcf9d..391015c46660 100644 --- a/nixos/doc/manual/release-notes/rl-2211.section.md +++ b/nixos/doc/manual/release-notes/rl-2211.section.md @@ -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. diff --git a/pkgs/servers/tt-rss/default.nix b/pkgs/servers/tt-rss/default.nix index 39615a238e35..7ec0f56f6192 100644 --- a/pkgs/servers/tt-rss/default.nix +++ b/pkgs/servers/tt-rss/default.nix @@ -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 '';