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