···1919mixRelease rec {
2020 inherit (common) pname version src;
21212222- # Version 5.1.1 failed to bump their internal package version,
2323- # which causes issues with static file serving in the NixOS module.
2424- # See https://github.com/NixOS/nixpkgs/pull/370277
2525- patches = [ ./0001-fix-version.patch ];
2222+ patches = [
2323+ # Version 5.1.1 failed to bump their internal package version,
2424+ # which causes issues with static file serving in the NixOS module.
2525+ # See https://github.com/NixOS/nixpkgs/pull/370277
2626+ ./0001-fix-version.patch
2727+ # Mobilizon uses chunked Transfer-Encoding for the media proxy but also
2828+ # sets the Content-Length header. This is a HTTP/1.1 protocol violation
2929+ # and results in nginx >=1.24 rejecting the response with this error:
3030+ # 'upstream sent "Content-Length" and "Transfer-Encoding" headers at the same
3131+ # time while reading response header from upstream'
3232+ # Upstream PR: https://framagit.org/framasoft/mobilizon/-/merge_requests/1604
3333+ ./0002-fix-media-proxy.patch
3434+ ];
26352736 nativeBuildInputs = [
2837 git