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.
12 lines
301 B
Nix
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
|
|
];
|
|
});
|
|
}
|