miniflux: 2.2.13 -> 2.2.14 (#454793)
This commit is contained in:
@@ -319,6 +319,8 @@ and [release notes for v18](https://goteleport.com/docs/changelog/#1800-070325).
|
|||||||
|
|
||||||
- The systemd target `kbrequest.target` is now unset by default, instead of being forcibly symlinked to `rescue.target`. In case you were relying on this behavior (Alt + ArrowUp on the tty causing the current target to be changed to `rescue.target`), you can restore it by setting `systemd.targets.rescue.aliases = [ "kbrequest.target" ];` in your configuration.
|
- The systemd target `kbrequest.target` is now unset by default, instead of being forcibly symlinked to `rescue.target`. In case you were relying on this behavior (Alt + ArrowUp on the tty causing the current target to be changed to `rescue.target`), you can restore it by setting `systemd.targets.rescue.aliases = [ "kbrequest.target" ];` in your configuration.
|
||||||
|
|
||||||
|
- `miniflux` no longer uses the hstore PostgreSQL extension. Having the extension would prevent Miniflux from starting. In case you are managing your `miniflux` PostgreSQL database externally, disable the extension with `DROP EXTENSION IF EXISTS hstore;`.
|
||||||
|
|
||||||
## Other Notable Changes {#sec-release-25.11-notable-changes}
|
## Other Notable Changes {#sec-release-25.11-notable-changes}
|
||||||
|
|
||||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||||
|
|||||||
@@ -20,9 +20,11 @@ let
|
|||||||
boolToInt = b: if b then 1 else 0;
|
boolToInt = b: if b then 1 else 0;
|
||||||
|
|
||||||
pgbin = "${config.services.postgresql.package}/bin";
|
pgbin = "${config.services.postgresql.package}/bin";
|
||||||
|
# The hstore extension is no longer needed as of v2.2.14
|
||||||
|
# and would prevent Miniflux from starting.
|
||||||
preStart = pkgs.writeScript "miniflux-pre-start" ''
|
preStart = pkgs.writeScript "miniflux-pre-start" ''
|
||||||
#!${pkgs.runtimeShell}
|
#!${pkgs.runtimeShell}
|
||||||
${pgbin}/psql "miniflux" -c "CREATE EXTENSION IF NOT EXISTS hstore"
|
${pgbin}/psql "miniflux" -c "DROP EXTENSION IF EXISTS hstore"
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
|
|
||||||
@@ -39,7 +41,7 @@ in
|
|||||||
description = ''
|
description = ''
|
||||||
Whether a PostgreSQL database should be automatically created and
|
Whether a PostgreSQL database should be automatically created and
|
||||||
configured on the local host. If set to `false`, you need provision a
|
configured on the local host. If set to `false`, you need provision a
|
||||||
database yourself and make sure to create the hstore extension in it.
|
database yourself.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -80,9 +80,6 @@ in
|
|||||||
host sameuser miniflux samenet scram-sha-256
|
host sameuser miniflux samenet scram-sha-256
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
systemd.services.postgresql-setup.postStart = lib.mkAfter ''
|
|
||||||
psql -tAd miniflux -c 'CREATE EXTENSION hstore;'
|
|
||||||
'';
|
|
||||||
networking.firewall.allowedTCPPorts = [ config.services.postgresql.settings.port ];
|
networking.firewall.allowedTCPPorts = [ config.services.postgresql.settings.port ];
|
||||||
};
|
};
|
||||||
externalDb =
|
externalDb =
|
||||||
|
|||||||
@@ -9,16 +9,16 @@
|
|||||||
|
|
||||||
buildGoModule (finalAttrs: {
|
buildGoModule (finalAttrs: {
|
||||||
pname = "miniflux";
|
pname = "miniflux";
|
||||||
version = "2.2.13";
|
version = "2.2.14";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "miniflux";
|
owner = "miniflux";
|
||||||
repo = "v2";
|
repo = "v2";
|
||||||
tag = finalAttrs.version;
|
tag = finalAttrs.version;
|
||||||
hash = "sha256-u3YnABf+ik7q29JtOSlK+UlInLRq5mMlH7vIDpxOOvk=";
|
hash = "sha256-x6I5PMlQtsjvFtEyoaKKE6if3I0IBIyps4kPQL4c8aw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-JBT3BUFbPrSpkeZUoGiJJaeiSyXu8y+xcHWPNpxo3cU=";
|
vendorHash = "sha256-X/6YvAhIHSOS3qaoR6/pa2b7EziZzx8B+CbYrJ9/mcM=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user