forgejo: add migration fix patch

This commit is contained in:
Lyn Fugmann 2024-04-11 14:04:10 +02:00
parent 5edc459dba
commit cc98ba62b3
Signed by: fugi
GPG key ID: 4472A20091BFA792

View file

@ -19,7 +19,15 @@ in
services.forgejo = { services.forgejo = {
enable = true; 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; user = gitUser;
group = gitUser; group = gitUser;
lfs.enable = true; lfs.enable = true;