diff options
-rw-r--r-- | pkgs/applications/version-management/gitea/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/gitea/default.nix b/pkgs/applications/version-management/gitea/default.nix index 8683540568960..f3c05bdbeb73b 100644 --- a/pkgs/applications/version-management/gitea/default.nix +++ b/pkgs/applications/version-management/gitea/default.nix @@ -2,6 +2,7 @@ , stdenv , buildGoModule , fetchurl +, fetchpatch , makeWrapper , git , bash @@ -32,6 +33,11 @@ buildGoModule rec { patches = [ ./static-root-path.patch + # https://github.com/go-gitea/gitea/pull/28877 + (fetchpatch { + url = "https://patch-diff.githubusercontent.com/raw/go-gitea/gitea/pull/28877.patch"; + hash = "sha256-cThW3EnHR695thajbnmfNziVB/iBP9OPeDgWbszYIeg="; + }) ]; postPatch = '' |