Merge pull request #321368 from NickCao/libsignal-ffi

libsignal-ffi: move rustPlatform.bindgenHook to nativeBuildInputs
This commit is contained in:
Nick Cao 2024-06-21 07:44:17 -04:00 committed by GitHub
commit 64f9997bc9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,8 +21,10 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-HqnxemAPjjKl/l4dVjEUIIvgW3ibNtQWnA10QYcd8Os=";
};
nativeBuildInputs = [ protobuf ] ++ lib.optionals stdenv.isDarwin [ xcodebuild ];
buildInputs = [ rustPlatform.bindgenHook ];
nativeBuildInputs = [
protobuf
rustPlatform.bindgenHook
] ++ lib.optionals stdenv.isDarwin [ xcodebuild ];
env.BORING_BSSL_PATH = "${boringssl-wrapper}";