Skip to content

Commit

Permalink
forgejo: add migration fix patch
Browse files Browse the repository at this point in the history
  • Loading branch information
fugidev committed Apr 11, 2024
1 parent 5edc459 commit cc98ba6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion modules/gitea.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,15 @@ in

services.forgejo = {
enable = true;
# package = pkgs.forgejo; # community fork
package = pkgs.forgejo.overrideAttrs (_old: {
patches = [
# migration fix
(pkgs.fetchpatch {
url = "https://codeberg.org/forgejo/forgejo/commit/ae463c7c559e02975ce5e758d8780def978eebee.patch";
hash = "sha256-cOXPvkLS0n+ynSBTrmEtumZ2PYBeCZmxPpFktqkw6Fo=";
})
];
});
user = gitUser;
group = gitUser;
lfs.enable = true;
Expand Down

0 comments on commit cc98ba6

Please sign in to comment.