Commit 73a4e613 authored by Smaug123's avatar Smaug123 Committed by Jörg Thalheim
Browse files

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.
parent 5c4ca40f
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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
+2 −0
Original line number Diff line number Diff line
@@ -347,6 +347,8 @@ Available as [services.patroni](options.html#opt-services.patroni.enable).
  [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.

- There is a new module for AMD SEV CPU functionality, which grants access to the hardware.
+7 −9
Original line number Diff line number Diff line
{ 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
  '';