summary refs log tree commit diff
path: root/pkgs/applications/version-management/gex
diff options
context:
space:
mode:
authorTheodore Ni <3806110+tjni@users.noreply.github.com>2023-08-05 12:53:46 -0700
committerTheodore Ni <3806110+tjni@users.noreply.github.com>2023-08-05 12:53:59 -0700
commit76aa255c3a94c0f7cc76e0ff64976a8300844c1f (patch)
treec6095be95818a0ba531588a7797a67104b69dbd4 /pkgs/applications/version-management/gex
parent04f88809c1c6dfbab4fab771822be6fa05bd8a35 (diff)
gex: add Security framework dependency on darwin
Diffstat (limited to 'pkgs/applications/version-management/gex')
-rw-r--r--pkgs/applications/version-management/gex/default.nix8
1 files changed, 7 insertions, 1 deletions
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";