meilisearch: migrate to the new macOS SDK

This commit is contained in:
Sander 2024-11-19 17:10:17 +04:00
parent a80e3605e5
commit 15e49d961b
No known key found for this signature in database
GPG Key ID: D1A763BC84F34603
2 changed files with 3 additions and 9 deletions

View File

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

View File

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