about summary refs log tree commit diff
path: root/pkgs/tools/security/keyscope
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2021-10-30 12:57:45 -0400
committerfigsoda <figsoda@pm.me>2021-10-30 13:01:12 -0400
commit80f971dffd715fd307185673878ca3fd3ca735ed (patch)
tree52420b5cd0d47ca2262b3e0f4a71b8d2d5c2ac09 /pkgs/tools/security/keyscope
parent90bd1ade2093697acae6ac07b329bf338f0d158e (diff)
keyscope: fix darwin build
Diffstat (limited to 'pkgs/tools/security/keyscope')
-rw-r--r--pkgs/tools/security/keyscope/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/tools/security/keyscope/default.nix b/pkgs/tools/security/keyscope/default.nix
index 12c692a1d58c5..dad09970b911f 100644
--- a/pkgs/tools/security/keyscope/default.nix
+++ b/pkgs/tools/security/keyscope/default.nix
@@ -4,6 +4,9 @@
 , pkg-config
 , openssl
 , stdenv
+, DiskArbitration
+, Foundation
+, IOKit
 , Security
 }:
 
@@ -22,7 +25,12 @@ rustPlatform.buildRustPackage rec {
 
   nativeBuildInputs = [ pkg-config ];
 
-  buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
+  buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
+    DiskArbitration
+    Foundation
+    IOKit
+    Security
+  ];
 
   # build script tries to get information from git
   postPatch = ''