Skip to content

Commit

Permalink
cargo-spellcheck: move to pkgs/by-name
Browse files Browse the repository at this point in the history
  • Loading branch information
newAM committed Nov 16, 2024
1 parent de3d452 commit e930b87
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
, rustPlatform
, fetchFromGitHub
, stdenv
, Security
, SystemConfiguration
, darwin
}:

rustPlatform.buildRustPackage rec {
Expand All @@ -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)";

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 @@ -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;
};
Expand Down

0 comments on commit e930b87

Please sign in to comment.