Skip to content

Commit

Permalink
meilisearch: migrate to the new macOS SDK (#357277)
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar authored Nov 19, 2024
2 parents 3c6b18f + 15e49d9 commit f1f2075
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
8 changes: 2 additions & 6 deletions pkgs/servers/search/meilisearch/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
lib,
rustPlatform,
fetchFromGitHub,
Security,
SystemConfiguration,
apple-sdk_11,
nixosTests,
nix-update-script,
}:
Expand Down Expand Up @@ -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 { };
Expand Down
4 changes: 1 addition & 3 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4246,9 +4246,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;

Expand Down

0 comments on commit f1f2075

Please sign in to comment.