Skip to content

Commit c776d4b

Browse files
authored
cargo-deadlinks: move to pkgs/by-name (NixOS#362879)
2 parents 7ee6257 + 036a9a7 commit c776d4b

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

pkgs/development/tools/rust/cargo-deadlinks/default.nix renamed to pkgs/by-name/ca/cargo-deadlinks/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }:
1+
{ lib, stdenv, rustPlatform, fetchFromGitHub, apple-sdk_11 }:
22

33
rustPlatform.buildRustPackage rec {
44
pname = "cargo-deadlinks";
@@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
2323
# assumes the target is x86_64-unknown-linux-gnu
2424
"--skip simple_project::it_checks_okay_project_correctly";
2525

26-
buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
26+
buildInputs = lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11;
2727

2828
meta = with lib; {
2929
description = "Cargo subcommand to check rust documentation for broken links";

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6867,9 +6867,6 @@ with pkgs;
68676867
cargo-cyclonedx = callPackage ../development/tools/rust/cargo-cyclonedx {
68686868
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration CoreFoundation;
68696869
};
6870-
cargo-deadlinks = callPackage ../development/tools/rust/cargo-deadlinks {
6871-
inherit (darwin.apple_sdk.frameworks) Security;
6872-
};
68736870
cargo-edit = callPackage ../development/tools/rust/cargo-edit {
68746871
inherit (darwin.apple_sdk.frameworks) Security;
68756872
};

0 commit comments

Comments
 (0)