Merge pull request #68966 from siriobalmelli-foss/fix/cargo-inspect
cargo-inspect: fix build on Darwin
This commit is contained in:
commit
f1747f0f88
@ -1,4 +1,4 @@
|
||||
{ lib, rustPlatform, fetchFromGitHub }:
|
||||
{ stdenv, lib, rustPlatform, fetchFromGitHub, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-inspect";
|
||||
@ -11,6 +11,8 @@ rustPlatform.buildRustPackage rec {
|
||||
sha256 = "0rjy8jlar939fkl7wi8a6zxsrl4axz2nrhv745ny8x38ii4sfbzr";
|
||||
};
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
cargoSha256 = "1pxvcf991w0jfxdissvwal5slrx7vpk3rqkzwk4hxfv0mjiqxsg5";
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -8339,7 +8339,9 @@ in
|
||||
cargo-bloat = callPackage ../development/tools/rust/cargo-bloat { };
|
||||
cargo-expand = callPackage ../development/tools/rust/cargo-expand { };
|
||||
cargo-fuzz = callPackage ../development/tools/rust/cargo-fuzz { };
|
||||
cargo-inspect = callPackage ../development/tools/rust/cargo-inspect { };
|
||||
cargo-inspect = callPackage ../development/tools/rust/cargo-inspect {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
cargo-make = callPackage ../development/tools/rust/cargo-make {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user