diff --git a/pkgs/tools/misc/fend/default.nix b/pkgs/tools/misc/fend/default.nix index fbd64d5273d..07880c4fbdc 100644 --- a/pkgs/tools/misc/fend/default.nix +++ b/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 = ''