From e57d0144546d9935729eca6c33451c3ca85da69a Mon Sep 17 00:00:00 2001 From: Izorkin Date: Tue, 28 Mar 2023 13:19:25 +0300 Subject: [PATCH] mastodon: update ruby package --- pkgs/servers/mastodon/gemset.nix | 5 ++--- pkgs/servers/mastodon/source.nix | 9 +++++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/servers/mastodon/gemset.nix b/pkgs/servers/mastodon/gemset.nix index 5c1a1e3d985e..3e1632860b56 100644 --- a/pkgs/servers/mastodon/gemset.nix +++ b/pkgs/servers/mastodon/gemset.nix @@ -353,15 +353,14 @@ version = "1.0.0"; }; blurhash = { - dependencies = ["ffi"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1rs61mwdiyriq8mb8na2sfrqzz8igls04md63ajyhk4yj8d2j0sz"; + sha256 = "057afgqy73n8vm7k3cr4pbwm1hhqnm58lp4x7bgm5wzbs39m7xf8"; type = "gem"; }; - version = "0.1.6"; + version = "0.1.7"; }; bootsnap = { dependencies = ["msgpack"]; diff --git a/pkgs/servers/mastodon/source.nix b/pkgs/servers/mastodon/source.nix index b51afb602c2b..eced26d6f8a0 100644 --- a/pkgs/servers/mastodon/source.nix +++ b/pkgs/servers/mastodon/source.nix @@ -1,5 +1,5 @@ # This file was generated by pkgs.mastodon.updateScript. -{ fetchgit, applyPatches }: let +{ fetchgit, applyPatches, fetchpatch }: let src = fetchgit { url = "https://github.com/mastodon/mastodon.git"; rev = "v4.1.1"; @@ -7,5 +7,10 @@ }; in applyPatches { inherit src; - patches = []; + patches = [ + (fetchpatch { + url = "https://github.com/mastodon/mastodon/commit/e7b81d7d9625893b1323e12215a2a98c0f19f58f.patch"; + hash = "sha256-cF0wtbjTNbsyqHb3uy5zYFaACIcziJ2ulJpOT5VoDO0="; + }) + ]; }