From cb0ecfc02553e3590085002f7c1fa5ea2b421a40 Mon Sep 17 00:00:00 2001 From: "j.r" Date: Thu, 11 Apr 2024 12:15:52 +0200 Subject: [PATCH 1/3] gotosocial: 0.14.2 -> 0.15.0 --- pkgs/servers/gotosocial/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/gotosocial/default.nix b/pkgs/servers/gotosocial/default.nix index 58e916d625f8..15df147324a9 100644 --- a/pkgs/servers/gotosocial/default.nix +++ b/pkgs/servers/gotosocial/default.nix @@ -9,11 +9,11 @@ let owner = "superseriousbusiness"; repo = "gotosocial"; - version = "0.14.2"; + version = "0.15.0"; web-assets = fetchurl { url = "https://github.com/${owner}/${repo}/releases/download/v${version}/${repo}_${version}_web-assets.tar.gz"; - hash = "sha256-3aSOP8BTHdlODQnZr6DOZuybLl+02SWgP9YZ21guAPU="; + hash = "sha256-vrSdFIdBcfj6+sxtvv1s/Mu85I1mKxjyUYS902oLKk4="; }; in buildGoModule rec { @@ -23,7 +23,7 @@ buildGoModule rec { src = fetchFromGitHub { inherit owner repo; rev = "refs/tags/v${version}"; - hash = "sha256-oeOxP9FkGsOH66Uk946H0b/zggz536YvRRuo1cINxSM="; + hash = "sha256-z0iETddkw4C2R6ig9ZO8MTvhuWnmQ37/6q3oZ4WAzd4="; }; vendorHash = null; From d244dc962d48cabbb000ccd0eac73f07e77833cc Mon Sep 17 00:00:00 2001 From: "j.r" Date: Thu, 11 Apr 2024 16:33:17 +0200 Subject: [PATCH 2/3] gotosocial: do not skip TestValidateEmail It was fixed by https://github.com/superseriousbusiness/gotosocial/pull/2760 --- pkgs/servers/gotosocial/default.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/servers/gotosocial/default.nix b/pkgs/servers/gotosocial/default.nix index 15df147324a9..77961869d51a 100644 --- a/pkgs/servers/gotosocial/default.nix +++ b/pkgs/servers/gotosocial/default.nix @@ -49,9 +49,6 @@ buildGoModule rec { skippedTests = [ # See: https://github.com/superseriousbusiness/gotosocial/issues/2651 "TestPage/minID,_maxID_and_limit_set" - # See: https://github.com/superseriousbusiness/gotosocial/pull/2760. Stop skipping - # this test when fixed for go 1.21.8 and above - "TestValidationTestSuite/TestValidateEmail" ]; in [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ]; From f92bbde73ffeb2c29240d7fc61b42217d7049f04 Mon Sep 17 00:00:00 2001 From: "j.r" Date: Sat, 20 Apr 2024 14:12:56 +0200 Subject: [PATCH 3/3] gotosocial: do not run test for now Tests seem to be very unstable currently, so we should do them manually for now, see: https://github.com/NixOS/nixpkgs/pull/303321#issuecomment-2054023417 --- pkgs/servers/gotosocial/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/gotosocial/default.nix b/pkgs/servers/gotosocial/default.nix index 77961869d51a..1adace928509 100644 --- a/pkgs/servers/gotosocial/default.nix +++ b/pkgs/servers/gotosocial/default.nix @@ -41,7 +41,9 @@ buildGoModule rec { ''; # tests are working only on x86_64-linux - doCheck = stdenv.isLinux && stdenv.isx86_64; + # doCheck = stdenv.isLinux && stdenv.isx86_64; + # checks are currently very unstable in our setup, so we should test manually for now + doCheck = false; checkFlags = let