mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
polkadot: fix build on non-darwin
This commit is contained in:
parent
f9fe536c8f
commit
63b1f56254
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue