diff --git a/pkgs/development/tools/rust/cargo-spellcheck/default.nix b/pkgs/by-name/ca/cargo-spellcheck/package.nix similarity index 85% rename from pkgs/development/tools/rust/cargo-spellcheck/default.nix rename to pkgs/by-name/ca/cargo-spellcheck/package.nix index 6d6bfa5ae2580..c247023b8ed84 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 +, darwin }: rustPlatform.buildRustPackage rec { @@ -21,7 +20,10 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ rustPlatform.bindgenHook ]; - buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security SystemConfiguration ]; + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ + darwin.apple_sdk.frameworks.Security + darwin.apple_sdk.frameworks.SystemConfiguration + ]; preCheck = "HOME=$(mktemp -d)"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index beb25b36d18ad..dc0e5fdc46ab0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7055,9 +7055,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; };