Merge pull request #308001 from NickCao/meilisearch
meilisearch: use rustPlatform.bindgenHook
This commit is contained in:
commit
0ce23a7ed4
1 changed files with 4 additions and 3 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue