Merge pull request #68966 from siriobalmelli-foss/fix/cargo-inspect

cargo-inspect: fix build on Darwin
This commit is contained in:
Mario Rodas
2019-09-18 06:13:15 -05:00
committed by GitHub
2 changed files with 6 additions and 2 deletions

View File

@@ -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; {