overlays/invidious: add patch #4552

This commit is contained in:
Aaron Bieber 2024-04-01 10:20:50 -06:00
parent 9d5adf88b6
commit 314563efb2
No known key found for this signature in database
2 changed files with 16 additions and 0 deletions

View File

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

14
overlays/invidious.nix Normal file
View File

@ -0,0 +1,14 @@
let
invidious = _: super: {
invidious = super.invidious.overrideAttrs (_: {
patches = [
(super.fetchpatch {
name = "fix-fetch";
url = "https://patch-diff.githubusercontent.com/raw/iv-org/invidious/pull/4552.diff";
hash = "sha256-uyAsILwxf77OZwJoTkvZ7m79w4WncTAyAr1cZbU6mhM=";
})
];
});
};
in
invidious