libsignal-ffi: move rustPlatform.bindgenHook to nativeBuildInputs

This commit is contained in:
Nick Cao 2024-06-20 19:31:33 -04:00
parent 88130cec79
commit 31dd38aece
No known key found for this signature in database

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}";