overlays/invidious: add patch for PR 4650

This commit is contained in:
Aaron Bieber 2024-04-29 10:45:25 -06:00
parent ba445b671f
commit feab0e9065
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View File

@ -6,6 +6,7 @@ let
inherit (xinlib) prIsOpen todo; inherit (xinlib) prIsOpen todo;
matrix-synapse-unwrapped = prIsOpen.overlay 0 (import ./matrix-synapse.nix); matrix-synapse-unwrapped = prIsOpen.overlay 0 (import ./matrix-synapse.nix);
heisenbridge = prIsOpen.overlay 0 (import ./heisenbridge.nix); heisenbridge = prIsOpen.overlay 0 (import ./heisenbridge.nix);
invidious = prIsOpen.overlay 0 (import ./invidious.nix);
in in
{ {
nixpkgs.overlays = [ nixpkgs.overlays = [
@ -19,6 +20,7 @@ in
] ++ ] ++
(if isUnstable (if isUnstable
then [ then [
invidious
] ]
else [ else [
]); ]);

View File

@ -3,9 +3,9 @@ let
invidious = super.invidious.overrideAttrs (_: { invidious = super.invidious.overrideAttrs (_: {
patches = [ patches = [
(super.fetchpatch { (super.fetchpatch {
name = "fix-fetch"; name = "use-android";
url = "https://patch-diff.githubusercontent.com/raw/iv-org/invidious/pull/4552.diff"; url = "https://patch-diff.githubusercontent.com/raw/iv-org/invidious/pull/4650.diff";
hash = "sha256-uyAsILwxf77OZwJoTkvZ7m79w4WncTAyAr1cZbU6mhM="; hash = "sha256-nI9T0p2i2uqB2qJgZXD1nhiBUNhpTvMPS/XNNWPWCBs=";
}) })
]; ];
}); });