1
Fork 0

Fix invidious referencing prev instead of pkgs

This commit is contained in:
prescientmoon 2024-04-01 06:29:29 +02:00
parent a9bae89c37
commit f65785f2f4
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -1,4 +1,4 @@
{ config, ... }: { { config, pkgs, ... }: {
imports = [ imports = [
../../common/optional/services/nginx.nix ../../common/optional/services/nginx.nix
../../common/optional/services/postgres.nix ../../common/optional/services/postgres.nix
@ -33,8 +33,8 @@
}; };
# REASON: the current invidious is broken, and cannot play videos # REASON: the current invidious is broken, and cannot play videos
packages = prev.invidious.overrideAttrs (_oldAttrs: { packages = pkgs.invidious.overrideAttrs (_oldAttrs: {
src = prev.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "iv-org"; owner = "iv-org";
repo = "invidious"; repo = "invidious";
fetchSubmodules = true; fetchSubmodules = true;