meilisearch: migrate to the new macOS SDK

(cherry picked from commit 15e49d961b)
This commit is contained in:
Sander 2024-11-19 17:10:17 +04:00 committed by github-actions[bot]
parent 23f0925292
commit d6b302ecce
2 changed files with 3 additions and 9 deletions

View File

@ -3,8 +3,7 @@
lib,
rustPlatform,
fetchFromGitHub,
Security,
SystemConfiguration,
apple-sdk_11,
nixosTests,
nix-update-script,
}:
@ -39,10 +38,7 @@ rustPlatform.buildRustPackage {
nativeBuildInputs = [ rustPlatform.bindgenHook ];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
Security
SystemConfiguration
];
buildInputs = lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11;
passthru = {
updateScript = nix-update-script { };

View File

@ -4250,9 +4250,7 @@ with pkgs;
hdf5 = hdf5.override { usev110Api = true; };
};
meilisearch = callPackage ../servers/search/meilisearch {
inherit (darwin.apple_sdk_11_0.frameworks) Security SystemConfiguration;
};
meilisearch = callPackage ../servers/search/meilisearch { };
mhonarc = perlPackages.MHonArc;