Browse Source

nixbld: fix gitea errors 500

https://github.com/go-gitea/gitea/issues/14274
pull/13/head
Sebastien Bourdeauducq 11 months ago
parent
commit
6bc5b75ccb
  1. 8
      nixbld-etc-nixos/configuration.nix

8
nixbld-etc-nixos/configuration.nix

@ -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…
Cancel
Save