diff --git a/pkgs/development/tools/rust/cargo-deadlinks/default.nix b/pkgs/by-name/ca/cargo-deadlinks/package.nix similarity index 89% rename from pkgs/development/tools/rust/cargo-deadlinks/default.nix rename to pkgs/by-name/ca/cargo-deadlinks/package.nix index b5e73fd9e0df1..13cfbcced456a 100644 --- a/pkgs/development/tools/rust/cargo-deadlinks/default.nix +++ b/pkgs/by-name/ca/cargo-deadlinks/package.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }: +{ lib, stdenv, rustPlatform, fetchFromGitHub, apple-sdk_11 }: rustPlatform.buildRustPackage rec { pname = "cargo-deadlinks"; @@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec { # assumes the target is x86_64-unknown-linux-gnu "--skip simple_project::it_checks_okay_project_correctly"; - buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security; + buildInputs = lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11; meta = with lib; { description = "Cargo subcommand to check rust documentation for broken links"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ea518b6e49109..11b96d66c1e66 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6966,9 +6966,6 @@ with pkgs; cargo-cyclonedx = callPackage ../development/tools/rust/cargo-cyclonedx { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration CoreFoundation; }; - cargo-deadlinks = callPackage ../development/tools/rust/cargo-deadlinks { - inherit (darwin.apple_sdk.frameworks) Security; - }; cargo-edit = callPackage ../development/tools/rust/cargo-edit { inherit (darwin.apple_sdk.frameworks) Security; };