diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-04-18 21:59:58 +0300 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-04-18 21:59:58 +0300 |
commit | 1b4e72e95ed806fbb1d47fe7d3b1a73bff3aad29 (patch) | |
tree | 17595babda3ae114d369aebc08a05cfded891232 | |
parent | d9c199dbc61f21cc04a15f267c8b9a871281222b (diff) |
ameba: fix build with Crystal 1.8
-rw-r--r-- | pkgs/development/tools/ameba/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/tools/ameba/default.nix b/pkgs/development/tools/ameba/default.nix index d3ca1d466638c..17b444c1dfe26 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; { |