Use fetchFromGitHub

This commit is contained in:
dump_stack() 2023-07-31 21:05:26 +00:00
parent e23197319a
commit b15ee7e276
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -7,10 +7,11 @@ let
mastodon-lor-sh = pkgs.mastodon.override {
srcOverride = pkgs.applyPatches {
src = pkgs.fetchgit {
url = mastodon-source.src.url;
src = pkgs.fetchFromGitHub {
owner = mastodon-source.src.owner;
repo = mastodon-source.src.repo;
rev = mastodon-source.src.rev;
sha256 = mastodon-source.src.outputHash;
hash = mastodon-source.src.outputHash;
};
patches = [
./patches/logo.patch