fend: fix darwin build by supplying Security framework

This commit is contained in:
Robert Scott 2022-03-21 21:59:01 +00:00 committed by Yt
parent 92de761336
commit a06e3103b2

View file

@ -1,4 +1,9 @@
{ lib, fetchFromGitHub, rustPlatform }:
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "fend";
@ -13,6 +18,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-lNpFdrriAglLaiWjxVP4JoiBuU+zdLlerAIApIvHHZw=";
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
doInstallCheck = true;
installCheckPhase = ''