From 0e0900cba509da351dbc3eb9ca9757154803d7f8 Mon Sep 17 00:00:00 2001 From: zeripath Date: Mon, 11 Jan 2021 18:09:14 +0000 Subject: [PATCH] gitea: add sqlite_unlock_notify build tag Fix #109004 When building Gitea with sqlite support the sqlite_unlock_notify tag must also be added otherwise there will be frequent error reports of database is locked. --- pkgs/applications/version-management/gitea/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/gitea/default.nix b/pkgs/applications/version-management/gitea/default.nix index ffbeb050956d..528e7c3dd995 100644 --- a/pkgs/applications/version-management/gitea/default.nix +++ b/pkgs/applications/version-management/gitea/default.nix @@ -37,7 +37,7 @@ buildGoPackage rec { preBuild = let tags = optional pamSupport "pam" - ++ optional sqliteSupport "sqlite"; + ++ optional sqliteSupport "sqlite sqlite_unlock_notify"; tagsString = concatStringsSep " " tags; in '' export buildFlagsArray=(