3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #230098 from wegank/tezos-rust-libs-darwin

tezos-rust-libs: fix build on darwin
This commit is contained in:
Weijia Wang 2023-05-05 16:05:03 +03:00 committed by GitHub
commit 360ab51ee7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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