pazi: adding darwin.apple_sdk.frameworks.Security

This commit is contained in:
Marek Mahut 2019-08-15 15:40:21 +02:00
parent 9a52a52e99
commit 9ff4220a52

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform }:
{ stdenv, fetchFromGitHub, rustPlatform, darwin }:
rustPlatform.buildRustPackage rec {
pname = "pazi";
@ -11,6 +11,8 @@ rustPlatform.buildRustPackage rec {
sha256 = "1gnh6047hacavcb9bhps9d1zjns66rdbd158fw20kjp1lln5srrn";
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
cargoSha256 = "15s03vwgl6562n5h9r4d5kp2r168jakn5nwnyibmrs8r5q0idmjs";
cargoPatches = [ ./cargo-lock.patch ];