Skip to content

Commit

Permalink
cargo-deadlinks: move to pkgs/by-name
Browse files Browse the repository at this point in the history
(cherry picked from commit 036a9a7)
  • Loading branch information
newAM authored and github-actions[bot] committed Dec 7, 2024
1 parent d79d0c0 commit d7e811d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, apple-sdk_11 }:

rustPlatform.buildRustPackage rec {
pname = "cargo-deadlinks";
Expand All @@ -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";
Expand Down
3 changes: 0 additions & 3 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit d7e811d

Please sign in to comment.