overlays/invidious: add patch #4552
This commit is contained in:
parent
9d5adf88b6
commit
314563efb2
@ -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
14
overlays/invidious.nix
Normal 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
|
Loading…
Reference in New Issue
Block a user