renge: Fix invidious

The patch is already in upstream, but for multiple reasons, I decided to
only apply the patch and not update.
This commit is contained in:
Simon Bruder 2024-03-31 19:57:09 +02:00
parent f30318869b
commit 00bada7b12
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -17,6 +17,11 @@
package = pkgs.unstable.invidious.overrideAttrs (o: o // { package = pkgs.unstable.invidious.overrideAttrs (o: o // {
patches = (o.patches or [ ]) ++ [ patches = (o.patches or [ ]) ++ [
./0001-Prefer-opus-audio-streams-in-listen-mode.patch ./0001-Prefer-opus-audio-streams-in-listen-mode.patch
(pkgs.fetchpatch {
name = "0002-Update-shorts-params.patch";
url = "https://github.com/iv-org/invidious/commit/1a2d408d38fd0baef9a5538f3971fb7ac9abd147.patch";
hash = "sha256-uyAsILwxf77OZwJoTkvZ7m79w4WncTAyAr1cZbU6mhM=";
})
]; ];
}); });
nginx.enable = true; nginx.enable = true;