Fix invidious referencing prev
instead of pkgs
This commit is contained in:
parent
a9bae89c37
commit
f65785f2f4
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue