keyscope: fix darwin build
This commit is contained in:
parent
90bd1ade20
commit
80f971dffd
@ -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 = ''
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user