subxt: fix build on darwin
This commit is contained in:
parent
a1dae0c115
commit
3562003aa0
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
@ -24,6 +25,10 @@ rustPlatform.buildRustPackage rec {
|
|||
# Needed by wabt-sys
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
# Requires a running substrate node
|
||||
doCheck = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue