pinentry_mac: add cf-private
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_NSArray", referenced from: objc-class-ref in GPGDefaults.o "_OBJC_CLASS_$_NSDictionary", referenced from: objc-class-ref in PinentryController.o objc-class-ref in GPGDefaults.o objc-class-ref in KeychainSupport.o "_OBJC_CLASS_$_NSMutableDictionary", referenced from: objc-class-ref in GPGDefaults.o "_OBJC_CLASS_$_NSSet", referenced from: objc-class-ref in GPGDefaults.o "_OBJC_CLASS_$_NSUserDefaults", referenced from: objc-class-ref in GPGDefaults.o ld: symbol(s) not found for architecture x86_64
This commit is contained in:
parent
c8e480b4da
commit
7fd359f2f9
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, xcbuildHook, libiconv, Cocoa, ncurses }:
|
{ stdenv, fetchFromGitHub, xcbuildHook, libiconv, Cocoa, ncurses, cf-private }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "pinentry-mac-0.9.4";
|
name = "pinentry-mac-0.9.4";
|
||||||
@ -11,7 +11,12 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ xcbuildHook ];
|
nativeBuildInputs = [ xcbuildHook ];
|
||||||
buildInputs = [ libiconv Cocoa ncurses ];
|
|
||||||
|
buildInputs = [
|
||||||
|
libiconv Cocoa ncurses
|
||||||
|
# Needed for OBJC_CLASS_$_NSArray symbols.
|
||||||
|
cf-private
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/Applications
|
mkdir -p $out/Applications
|
||||||
|
@ -4779,6 +4779,7 @@ with pkgs;
|
|||||||
};
|
};
|
||||||
|
|
||||||
pinentry_mac = callPackage ../tools/security/pinentry/mac.nix {
|
pinentry_mac = callPackage ../tools/security/pinentry/mac.nix {
|
||||||
|
inherit (darwin) cf-private;
|
||||||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user