3
0
Fork 0
forked from mirrors/nixpkgs

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.
This commit is contained in:
zeripath 2021-01-11 18:09:14 +00:00 committed by GitHub
parent 1ac4c06c08
commit 0e0900cba5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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=(