tezos-rust-libs: fix build on darwin
This commit is contained in:
parent
4790140b28
commit
0d130c22b6
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchFromGitLab, stdenv, llvmPackages_12, cargo }:
|
{ lib, fetchFromGitLab, stdenv, llvmPackages_12, cargo, libiconv }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.5";
|
version = "1.5";
|
||||||
|
@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ llvmPackages_12.llvm cargo ];
|
nativeBuildInputs = [ llvmPackages_12.llvm cargo ];
|
||||||
propagatedBuildDeps = [ llvmPackages_12.libllvm ];
|
propagatedBuildDeps = [ llvmPackages_12.libllvm ];
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
|
|
Loading…
Reference in a new issue