Skip to content

Commit

Permalink
cargo-spellcheck: move to pkgs/by-name (NixOS#356513)
Browse files Browse the repository at this point in the history
  • Loading branch information
newAM authored Dec 3, 2024
1 parent b3e823f commit afd9ca8
Show file tree
Hide file tree
Showing 2 changed files with 2 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
, apple-sdk_11
}:

rustPlatform.buildRustPackage rec {
Expand All @@ -21,7 +20,7 @@ rustPlatform.buildRustPackage rec {

nativeBuildInputs = [ rustPlatform.bindgenHook ];

buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security SystemConfiguration ];
buildInputs = lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11;

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 @@ -6957,9 +6957,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 afd9ca8

Please sign in to comment.