From f65785f2f44d2577dbd2b74fe4f9c15b20e191a9 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Mon, 1 Apr 2024 06:29:29 +0200 Subject: [PATCH] Fix invidious referencing `prev` instead of `pkgs` --- hosts/nixos/lapetus/services/invidious.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/nixos/lapetus/services/invidious.nix b/hosts/nixos/lapetus/services/invidious.nix index 03850d2..5c2fcaa 100644 --- a/hosts/nixos/lapetus/services/invidious.nix +++ b/hosts/nixos/lapetus/services/invidious.nix @@ -1,4 +1,4 @@ -{ config, ... }: { +{ config, pkgs, ... }: { imports = [ ../../common/optional/services/nginx.nix ../../common/optional/services/postgres.nix @@ -33,8 +33,8 @@ }; # REASON: the current invidious is broken, and cannot play videos - packages = prev.invidious.overrideAttrs (_oldAttrs: { - src = prev.fetchFromGitHub { + packages = pkgs.invidious.overrideAttrs (_oldAttrs: { + src = pkgs.fetchFromGitHub { owner = "iv-org"; repo = "invidious"; fetchSubmodules = true;