Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion modules/mastodon.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,12 @@ in
args = if lib.versionOlder config.services.mastodon.package.version "4.4.0" then {
tag = "2.1.1";
hash = "sha256-WEw9wE+iBCLDDTZjFoDJ3EwKTY92+LyJyDqCIoVXhzk=";
} else {
} else if lib.versionOlder config.services.mastodon.package.version "4.5.0" then {
tag = "2.3.3";
hash = "sha256-ddx9P8eOtUzTDFMF0ZRKyIRujjLL6rFppUswJn40nFU=";
} else {
tag = "3.0.0";
hash = "sha256-xwNfkUQCAoglOSvxvH/FWkA+vNImQeOMeYRrHUGeVzQ=";
};
in {
owner = "ronilaukkarinen";
Expand Down
2 changes: 1 addition & 1 deletion modules/postgres.nix
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ in

extUpdateStatement = name: {
# pg_repack cannot be updated but reinstalling it is safe
"pg_repack" = "DROP EXTENSION pg_repack; CREATE EXTENSION pg_repack";
"pg_repack" = "DROP EXTENSION pg_repack CASCADE; CREATE EXTENSION pg_repack";
"postgis" = "SELECT postgis_extensions_upgrade()";
}.${name} or ''ALTER EXTENSION "${extName}" UPDATE'';
in /* bash */ ''
Expand Down
Loading