From 8359b6fe91376cc4110aa3565d71b45dd3877462 Mon Sep 17 00:00:00 2001 From: CherryKitten Date: Tue, 30 Jun 2026 11:30:19 +0200 Subject: [PATCH 1/3] gotosocial: 0.21.3 -> 0.22.0 --- doc/release-notes/rl-2611.section.md | 3 +++ pkgs/by-name/go/gotosocial/package.nix | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/release-notes/rl-2611.section.md b/doc/release-notes/rl-2611.section.md index 79a5a1c865de..c4c8519a13d0 100644 --- a/doc/release-notes/rl-2611.section.md +++ b/doc/release-notes/rl-2611.section.md @@ -14,6 +14,9 @@ - `hurl` has been updated to `8.x.x` which has some breaking changes. See [upstream changelog](https://github.com/Orange-OpenSource/hurl/releases/tag/8.0.0) for details. +- `gotosocial` has been updated to 0.22.0. This release contains a very long database migration, which should not be cancelled or interrupted under any circumstances. + - Postgres users: Following the migration, if you encounter slowdown on Postgres specifically (ie., timing out while loading timelines) you may need to run some manual database maintenance steps. Please check https://docs.gotosocial.org/en/stable/admin/database_maintenance/#postgres. + - `xsecurelock` no longer supports authentication via htaccess files (`~/.xsecurelock.pw`) or via the `pamtester` program by default. Only the recommended PAM module is supported unless rebuilt with `withHtaccess` or `withPamtester`. - `python3Packages.django-health-check` has been updated to major version 4. See its [migration guide](https://codingjoe.dev/django-health-check/migrate-to-v4/) and [changelog](https://github.com/codingjoe/django-health-check/releases/tag/4.0.0) for breaking changes. diff --git a/pkgs/by-name/go/gotosocial/package.nix b/pkgs/by-name/go/gotosocial/package.nix index 9b0d66660ca5..1a13f4e5183e 100644 --- a/pkgs/by-name/go/gotosocial/package.nix +++ b/pkgs/by-name/go/gotosocial/package.nix @@ -11,13 +11,13 @@ }: buildGo125Module (finalAttrs: { pname = "gotosocial"; - version = "0.21.3"; + version = "0.22.0"; src = fetchFromCodeberg { owner = "superseriousbusiness"; repo = "gotosocial"; tag = "v${finalAttrs.version}"; - hash = "sha256-gemi9t4wTjmCHEXfdXz1X9Q4gcvj/3LMtlrO5UpQ19M="; + hash = "sha256-rslzi9WqPqN/wm9PN6SWdXtLdMRJJV6Hhb3whJ0RicU="; }; vendorHash = null; From 91fe46a7d0b688fa3fb764e34051dc62fe76f488 Mon Sep 17 00:00:00 2001 From: CherryKitten Date: Tue, 7 Jul 2026 13:09:31 +0200 Subject: [PATCH 2/3] gotosocial: use containers for tests --- nixos/tests/web-apps/gotosocial.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/web-apps/gotosocial.nix b/nixos/tests/web-apps/gotosocial.nix index d9e50ecaa150..bf74bcf09887 100644 --- a/nixos/tests/web-apps/gotosocial.nix +++ b/nixos/tests/web-apps/gotosocial.nix @@ -3,7 +3,7 @@ name = "gotosocial"; meta.maintainers = with lib.maintainers; [ blakesmith ]; - nodes.machine = + containers.machine = { pkgs, ... }: { environment.systemPackages = [ pkgs.jq ]; From dc4d391fad66074e4f88110928c7f3d0f68c68fd Mon Sep 17 00:00:00 2001 From: CherryKitten Date: Tue, 7 Jul 2026 13:11:01 +0200 Subject: [PATCH 3/3] gotosocial: remove Go codegen helper binary after install --- pkgs/by-name/go/gotosocial/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/go/gotosocial/package.nix b/pkgs/by-name/go/gotosocial/package.nix index 1a13f4e5183e..779772adaa5a 100644 --- a/pkgs/by-name/go/gotosocial/package.nix +++ b/pkgs/by-name/go/gotosocial/package.nix @@ -63,6 +63,9 @@ buildGo125Module (finalAttrs: { ''; postInstall = '' + # remove a Go codegen helper binary + rm $out/bin/gen + mkdir -p $out/share/gotosocial/web mv web/{assets,template} $out/share/gotosocial/web '';