diff --git a/pkgs/development/tools/rust/cargo-spellcheck/default.nix b/pkgs/by-name/ca/cargo-spellcheck/package.nix similarity index 88% rename from pkgs/development/tools/rust/cargo-spellcheck/default.nix rename to pkgs/by-name/ca/cargo-spellcheck/package.nix index 6d6bfa5ae258..1ac4ec1265f9 100644 --- a/pkgs/development/tools/rust/cargo-spellcheck/default.nix +++ b/pkgs/by-name/ca/cargo-spellcheck/package.nix @@ -2,8 +2,7 @@ , rustPlatform , fetchFromGitHub , stdenv -, Security -, SystemConfiguration +, apple-sdk_11 }: rustPlatform.buildRustPackage rec { @@ -21,7 +20,7 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ rustPlatform.bindgenHook ]; - buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security SystemConfiguration ]; + buildInputs = lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11; preCheck = "HOME=$(mktemp -d)"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fce1de226f70..4fa01e74c2a6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6957,9 +6957,6 @@ with pkgs; cargo-rdme = callPackage ../by-name/ca/cargo-rdme/package.nix { inherit (darwin.apple_sdk.frameworks) Security; }; - cargo-spellcheck = callPackage ../development/tools/rust/cargo-spellcheck { - inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; - }; cargo-udeps = callPackage ../development/tools/rust/cargo-udeps { inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration; };