meilisearch: use rustPlatform.bindgenHook

This commit is contained in:
Nick Cao 2024-04-30 09:47:49 -04:00
parent 83bdb045f6
commit 1fe83cc11b
No known key found for this signature in database

View File

@ -6,7 +6,6 @@
, SystemConfiguration
, nixosTests
, nix-update-script
, libclang
}:
let version = "1.7.6";
@ -40,12 +39,14 @@ rustPlatform.buildRustPackage {
# Default features include mini dashboard which downloads something from the internet.
buildNoDefaultFeatures = true;
nativeBuildInputs = [
rustPlatform.bindgenHook
];
buildInputs = lib.optionals stdenv.isDarwin [
Security SystemConfiguration
];
env.LIBCLANG_PATH = "${libclang.lib}/lib";
passthru = {
updateScript = nix-update-script { };
tests = {