From d6b302ecce44ef99af5621882db9270dd4045e9d Mon Sep 17 00:00:00 2001 From: Sander Date: Tue, 19 Nov 2024 17:10:17 +0400 Subject: [PATCH] meilisearch: migrate to the new macOS SDK (cherry picked from commit 15e49d961bce69e98dbede5d264726708dd2c0fc) --- pkgs/servers/search/meilisearch/default.nix | 8 ++------ pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/servers/search/meilisearch/default.nix b/pkgs/servers/search/meilisearch/default.nix index 59ce07445c98..75b9b4a4df98 100644 --- a/pkgs/servers/search/meilisearch/default.nix +++ b/pkgs/servers/search/meilisearch/default.nix @@ -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 { }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7eec404e3f39..0d1719857b11 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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;