Skip to content

Commit

Permalink
[Backport release-24.11] cargo-deadlinks: move to pkgs/by-name (#362888)
Browse files Browse the repository at this point in the history
  • Loading branch information
philiptaron authored Dec 7, 2024
2 parents d79d0c0 + d7e811d commit 30b07be
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 30b07be

Please sign in to comment.