diff --git a/pkgs/development/tools/ameba/default.nix b/pkgs/development/tools/ameba/default.nix index d3ca1d46663..17b444c1dfe 100644 --- a/pkgs/development/tools/ameba/default.nix +++ b/pkgs/development/tools/ameba/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, crystal }: +{ lib, fetchFromGitHub, fetchpatch, crystal }: crystal.buildCrystalPackage rec { pname = "ameba"; @@ -11,6 +11,13 @@ crystal.buildCrystalPackage rec { hash = "sha256-pc9mtVR/PBhM5l1PnDkm+y+McxbrfAmQzxmLi761VF4="; }; + patches = [ + (fetchpatch { + url = "https://github.com/crystal-ameba/ameba/commit/c7f2cba409787a1928fbb54494b4645ec11005cc.patch"; + hash = "sha256-tYEPke6omMdCGG2llJGXDZ3jTO4YAqpknzTPi2576UI="; + }) + ]; + format = "make"; meta = with lib; {