diff --git a/pkgs/servers/invidious/default.nix b/pkgs/servers/invidious/default.nix index d6d9ec17363e..7efeb5d9c39d 100644 --- a/pkgs/servers/invidious/default.nix +++ b/pkgs/servers/invidious/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, crystal, fetchFromGitHub, librsvg, pkg-config, libxml2, openssl, shards, sqlite, lsquic, videojs, nixosTests }: +{ lib, stdenv, crystal, fetchFromGitea, librsvg, pkg-config, libxml2, openssl, shards, sqlite, lsquic, videojs, nixosTests }: let # All versions, revisions, and checksums are stored in ./versions.json. # The update process is the following: @@ -18,7 +18,8 @@ crystal.buildCrystalPackage rec { pname = "invidious"; inherit (versions.invidious) version; - src = fetchFromGitHub { + src = fetchFromGitea { + domain = "gitea.invidious.io"; owner = "iv-org"; repo = pname; fetchSubmodules = true;