summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorIzorkin <izorkin@elven.pw>2023-03-28 13:19:25 +0300
committerKerstin <kerstin@erictapen.name>2023-03-29 12:41:21 +0200
commite57d0144546d9935729eca6c33451c3ca85da69a (patch)
tree16422dcbe5a3c6c5b854c634b2480902ce5a4c41 /pkgs/servers
parentcffe9414d6484b341c667500678bf19af4a6e879 (diff)
mastodon: update ruby package
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/mastodon/gemset.nix5
-rw-r--r--pkgs/servers/mastodon/source.nix9
2 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/servers/mastodon/gemset.nix b/pkgs/servers/mastodon/gemset.nix
index 5c1a1e3d985ee..3e1632860b56e 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 b51afb602c2bf..eced26d6f8a03 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=";
+    })
+  ];
 }