diff --git a/pkgs/applications/blockchains/ethabi/default.nix b/pkgs/applications/blockchains/ethabi/default.nix index 14f83539d70..e2598ba22db 100644 --- a/pkgs/applications/blockchains/ethabi/default.nix +++ b/pkgs/applications/blockchains/ethabi/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, rustPlatform }: +{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv }: rustPlatform.buildRustPackage rec { pname = "ethabi"; @@ -15,6 +15,8 @@ rustPlatform.buildRustPackage rec { cargoPatches = [ ./add-Cargo-lock.patch ]; + buildInputs = lib.optional stdenv.isDarwin libiconv; + meta = with lib; { description = "Ethereum function call encoding (ABI) utility"; homepage = "https://github.com/rust-ethereum/ethabi";