diff --git a/pkgs/tools/security/keyscope/default.nix b/pkgs/tools/security/keyscope/default.nix index 12c692a1d58..dad09970b91 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 = '' diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fe53386974c..3e679252fb0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6670,7 +6670,7 @@ with pkgs; keyfuzz = callPackage ../tools/inputmethods/keyfuzz { }; keyscope = callPackage ../tools/security/keyscope { - inherit (darwin.apple_sdk.frameworks) Security; + inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation IOKit Security; }; keystore-explorer = callPackage ../applications/misc/keystore-explorer {