polkadot: fix build on non-darwin
This commit is contained in:
parent
f9fe536c8f
commit
63b1f56254
@ -4,6 +4,7 @@
|
|||||||
, llvmPackages
|
, llvmPackages
|
||||||
, protobuf
|
, protobuf
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
|
, stdenv
|
||||||
, writeShellScriptBin
|
, writeShellScriptBin
|
||||||
, Security
|
, Security
|
||||||
}:
|
}:
|
||||||
@ -33,7 +34,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoSha256 = "sha256-Gc5WbayQUlsl7Fk8NyLPh2Zg2yrLl3WJqKorNZMLi94=";
|
cargoSha256 = "sha256-Gc5WbayQUlsl7Fk8NyLPh2Zg2yrLl3WJqKorNZMLi94=";
|
||||||
|
|
||||||
buildInputs = [ Security ];
|
buildInputs = lib.optional stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
nativeBuildInputs = [ clang ];
|
nativeBuildInputs = [ clang ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user