forked from M-Labs/it-infra
nixbld: fix gitea errors 500
https://github.com/go-gitea/gitea/issues/14274
This commit is contained in:
parent
775e4573b7
commit
6bc5b75ccb
@ -421,6 +421,14 @@ in
|
||||
matterbridge = super.matterbridge.overrideAttrs(oa: {
|
||||
patches = oa.patches or [] ++ [ ./matterbridge-disable-github.patch ];
|
||||
});
|
||||
gitea = super.gitea.overrideAttrs(oa: {
|
||||
preBuild = let tagsString = "pam sqlite sqlite_unlock_notify"; in ''
|
||||
export buildFlagsArray=(
|
||||
-tags="${tagsString}"
|
||||
-ldflags='-X "main.Version=${oa.version}" -X "main.Tags=${tagsString}"'
|
||||
)
|
||||
'';
|
||||
});
|
||||
};
|
||||
|
||||
security.acme.acceptTerms = true;
|
||||
|
Loading…
Reference in New Issue
Block a user