fend: fix darwin build by supplying Security framework

main
Robert Scott 2 years ago committed by Yt
parent 92de761336
commit a06e3103b2
  1. 9
      pkgs/tools/misc/fend/default.nix

@ -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 = ''

Loading…
Cancel
Save