diff options
author | Nick Cao <nickcao@nichi.co> | 2024-05-01 15:14:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 15:14:54 -0400 |
commit | 0ce23a7ed4fca8490f54b8a3ec572081352289ac (patch) | |
tree | 143674345b042880780f6f57ac3dd2391fce6cdd /pkgs/servers | |
parent | 19322b7ac45fc6d12d747ed666d07a32ac9f4254 (diff) | |
parent | 1fe83cc11b61d8706806462b2eb433a5f571e252 (diff) |
Merge pull request #308001 from NickCao/meilisearch
meilisearch: use rustPlatform.bindgenHook
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/search/meilisearch/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/servers/search/meilisearch/default.nix b/pkgs/servers/search/meilisearch/default.nix index 8e816c0c13600..1846775194f06 100644 --- a/pkgs/servers/search/meilisearch/default.nix +++ b/pkgs/servers/search/meilisearch/default.nix @@ -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 = { |