gpg-tui: fix build on Darwin
This commit is contained in:
parent
775e849b0c
commit
64f45f1cf6
@ -1,10 +1,16 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, gpgme
|
||||
, libgpgerror
|
||||
, libxcb
|
||||
, python3
|
||||
, AppKit
|
||||
, Foundation
|
||||
, libiconv
|
||||
, libobjc
|
||||
, libresolv
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -30,6 +36,12 @@ rustPlatform.buildRustPackage rec {
|
||||
gpgme
|
||||
libgpgerror
|
||||
libxcb
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
AppKit
|
||||
Foundation
|
||||
libiconv
|
||||
libobjc
|
||||
libresolv
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -2786,7 +2786,10 @@ in
|
||||
Accelerate CoreGraphics CoreVideo;
|
||||
};
|
||||
|
||||
gpg-tui = callPackage ../tools/security/gpg-tui { };
|
||||
gpg-tui = callPackage ../tools/security/gpg-tui {
|
||||
inherit (darwin.apple_sdk.frameworks) AppKit Foundation;
|
||||
inherit (darwin) libobjc libresolv;
|
||||
};
|
||||
|
||||
goa = callPackage ../development/tools/goa { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user