infra/overlays/forgejo/default.nix
Skyler Grey b3f31dd71d
fix(forgejo): Patch to stop 500s on import+review
A while ago we set up forgejo. After that, we discovered that in certain
circumstances you could cause forgejo to give an error 500 when
approving a pull request.

Please see https://codeberg.org/forgejo/forgejo/issues/3860

This has been fixed upstream, but we are impatient so we would like to
pull in the patch before it lands in nixpkgs.
2024-05-28 23:58:52 +00:00

12 lines
301 B
Nix

# SPDX-FileCopyrightText: 2024 Auxolotl Infrastructure Contributors
#
# SPDX-License-Identifier: GPL-3.0-only
{...}: final: prev: {
forgejo = prev.forgejo.overrideAttrs (prevAttrs: {
patches = (prevAttrs.patches or []) ++ [
./map-non-existant-external-users-to-ghost.patch
];
});
}