From 4d876b55bfee9eb42e366f2157715167be765869 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 27 Apr 2024 10:46:52 +0900 Subject: chore(modules/invidious): move to latest version --- nixos/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'nixos') diff --git a/nixos/default.nix b/nixos/default.nix index d20458d..599ba75 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -1,4 +1,4 @@ -{ self, unstable, nixpkgs-invidious, ... } @ inputs: +{ self, unstable, ... } @ inputs: { alpha = self.lib.mkSystem { @@ -31,9 +31,16 @@ ]; overlays = [ (final: prev: { - # TODO: https://github.com/NixOS/nixpkgs/pull/300643 - inherit (nixpkgs-invidious.legacyPackages.x86_64-linux) - invidious; + # TODO: https://github.com/NixOS/nixpkgs/pull/307083 + invidious = prev.invidious.overrideAttrs(old: { + src = prev.fetchFromGitHub { + owner = "iv-org"; + repo = "invidious"; + fetchSubmodules = true; + rev = "v2.20240427"; + hash = "sha256-YZ+uhn1ESuRTZxAMoxKCpxEaUfeCUqOrSr3LkdbrTkU="; + }; + }); }) ]; }; -- cgit 1.4.1