From 76aa255c3a94c0f7cc76e0ff64976a8300844c1f Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sat, 5 Aug 2023 12:53:46 -0700 Subject: gex: add Security framework dependency on darwin --- pkgs/applications/version-management/gex/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'pkgs/applications/version-management/gex') diff --git a/pkgs/applications/version-management/gex/default.nix b/pkgs/applications/version-management/gex/default.nix index 051b7dfdc9240..5cf6172a42111 100644 --- a/pkgs/applications/version-management/gex/default.nix +++ b/pkgs/applications/version-management/gex/default.nix @@ -4,6 +4,7 @@ , fetchFromGitHub , pkg-config , libgit2 +, Security }: rustPlatform.buildRustPackage rec { @@ -18,7 +19,12 @@ rustPlatform.buildRustPackage rec { }; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ libgit2 ]; + + buildInputs = [ + libgit2 + ] ++ lib.optionals stdenv.isDarwin [ + Security + ]; cargoHash = "sha256-28sMY47LAdaGmPNmxeu/w1Pn6AV3JlWbxFcit5pLkI0"; -- cgit 1.4.1