mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
cargo-spellcheck: move to pkgs/by-name (#356513)
This commit is contained in:
parent
b3e823fc96
commit
afd9ca8bf0
2 changed files with 2 additions and 6 deletions
|
@ -2,8 +2,7 @@
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, stdenv
|
, stdenv
|
||||||
, Security
|
, apple-sdk_11
|
||||||
, SystemConfiguration
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
|
@ -21,7 +20,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ rustPlatform.bindgenHook ];
|
nativeBuildInputs = [ rustPlatform.bindgenHook ];
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security SystemConfiguration ];
|
buildInputs = lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11;
|
||||||
|
|
||||||
preCheck = "HOME=$(mktemp -d)";
|
preCheck = "HOME=$(mktemp -d)";
|
||||||
|
|
|
@ -6957,9 +6957,6 @@ with pkgs;
|
||||||
cargo-rdme = callPackage ../by-name/ca/cargo-rdme/package.nix {
|
cargo-rdme = callPackage ../by-name/ca/cargo-rdme/package.nix {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
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 {
|
cargo-udeps = callPackage ../development/tools/rust/cargo-udeps {
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
|
inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue