mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 12:34:15 +00:00
cargo-spellcheck: fix build on darwin
This commit is contained in:
parent
6f8ef1346c
commit
609c79f586
@ -2,6 +2,8 @@
|
|||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, libclang
|
, libclang
|
||||||
|
, stdenv
|
||||||
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -17,6 +19,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoSha256 = "1p4iirblk6idvfhn8954v8lbxlzj0gbd8fv4wq03hfrdqisjqcsn";
|
cargoSha256 = "1p4iirblk6idvfhn8954v8lbxlzj0gbd8fv4wq03hfrdqisjqcsn";
|
||||||
|
|
||||||
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
LIBCLANG_PATH = "${libclang.lib}/lib";
|
LIBCLANG_PATH = "${libclang.lib}/lib";
|
||||||
|
|
||||||
checkFlags = [
|
checkFlags = [
|
||||||
|
@ -12795,7 +12795,9 @@ with pkgs;
|
|||||||
};
|
};
|
||||||
cargo-readme = callPackage ../development/tools/rust/cargo-readme {};
|
cargo-readme = callPackage ../development/tools/rust/cargo-readme {};
|
||||||
cargo-sort = callPackage ../development/tools/rust/cargo-sort { };
|
cargo-sort = callPackage ../development/tools/rust/cargo-sort { };
|
||||||
cargo-spellcheck = callPackage ../development/tools/rust/cargo-spellcheck { };
|
cargo-spellcheck = callPackage ../development/tools/rust/cargo-spellcheck {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
cargo-supply-chain = callPackage ../development/tools/rust/cargo-supply-chain {
|
cargo-supply-chain = callPackage ../development/tools/rust/cargo-supply-chain {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user