diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-11-13 23:29:12 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-11-13 23:29:12 +0100 |
commit | dfa4b89852833d080a5b35d6ac9f9b997e198ec5 (patch) | |
tree | f2ba3111c0ed5c9e76f3b297ce59c094ac10199d /pkgs/applications/blockchains | |
parent | a1f49c048b4ea816d5f36d0d5f50fa6b9fe159fa (diff) |
build: fix build on aarch64-darwin
Diffstat (limited to 'pkgs/applications/blockchains')
-rw-r--r-- | pkgs/applications/blockchains/alfis/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/blockchains/alfis/default.nix b/pkgs/applications/blockchains/alfis/default.nix index 677915066eb07..c3971ae41e1a3 100644 --- a/pkgs/applications/blockchains/alfis/default.nix +++ b/pkgs/applications/blockchains/alfis/default.nix @@ -2,6 +2,7 @@ , lib , rustPlatform , fetchFromGitHub +, fetchpatch , pkg-config , makeWrapper , webkitgtk @@ -23,7 +24,15 @@ rustPlatform.buildRustPackage rec { sha256 = "sha256-QOKFnre5MW9EvrKrKBHWpOxi2fBKTDMhzCDX3ISd2cQ="; }; - cargoSha256 = "sha256-D+3HIyj1zbs5m8hwLpITS25u/wrRM5GfnwlUUuLX8DQ="; + cargoPatches = [ + (fetchpatch { + name = "bump-rust-web-view.patch"; + url = "https://github.com/Revertron/Alfis/commit/03b461a740ab6ccbacd576eafc7a3faf4a66648f.patch"; + sha256 = "sha256-CSqSMdVD31w7QxxXWtjKmqlaEirmbs1EVuiefSf1NKY="; + }) + ]; + + cargoSha256 = "sha256-B4xI++U6RCljXCyaOmNj/SwA6I16zoiZsgk2VTiKfkg="; checkFlags = [ # these want internet access, disable them |