tezos-rust-libs: fix build on darwin
This commit is contained in:
parent
4790140b28
commit
0d130c22b6
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue