polkadot: fix build on non-darwin

This commit is contained in:
André Silva 2022-04-03 16:22:08 +01:00
parent f9fe536c8f
commit 63b1f56254
No known key found for this signature in database
GPG Key ID: 7C34FA12A023DC55

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 ];