subxt: fix build on darwin
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user