diff --git a/pkgs/development/libraries/tezos-rust-libs/default.nix b/pkgs/development/libraries/tezos-rust-libs/default.nix index 72163acba83e..e59e5858eaac 100644 --- a/pkgs/development/libraries/tezos-rust-libs/default.nix +++ b/pkgs/development/libraries/tezos-rust-libs/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitLab, stdenv, llvmPackages_12, cargo }: +{ lib, fetchFromGitLab, stdenv, llvmPackages_12, cargo, libiconv }: stdenv.mkDerivation rec { version = "1.5"; @@ -12,6 +12,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ llvmPackages_12.llvm cargo ]; propagatedBuildDeps = [ llvmPackages_12.libllvm ]; + buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; buildPhase = '' runHook preBuild