Merge pull request #167045 from andresilva/andre/fix-polkadot-build

This commit is contained in:
Ben Siraphob 2022-04-03 12:09:09 -05:00 committed by GitHub
commit c7e88782d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@
, llvmPackages
, protobuf
, rustPlatform
, stdenv
, writeShellScriptBin
, Security
}:
@ -33,7 +34,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-Gc5WbayQUlsl7Fk8NyLPh2Zg2yrLl3WJqKorNZMLi94=";
buildInputs = [ Security ];
buildInputs = lib.optional stdenv.isDarwin [ Security ];
nativeBuildInputs = [ clang ];