keybase: add cf-private on darwin
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_NSData", referenced from:
objc-class-ref in _x002.o
"_OBJC_CLASS_$_NSDictionary", referenced from:
objc-class-ref in _x002.o
"_OBJC_CLASS_$_NSURL", referenced from:
objc-class-ref in _x002.o
ld: symbol(s) not found for architecture x86_64
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ stdenv, lib, buildGoPackage, fetchFromGitHub
|
||||
, AVFoundation ? null, AudioToolbox ? null, ImageIO ? null, CoreMedia ? null
|
||||
, Foundation ? null, CoreGraphics ? null, MediaToolbox ? null }:
|
||||
{ stdenv, lib, buildGoPackage, fetchFromGitHub, cf-private
|
||||
, AVFoundation, AudioToolbox, ImageIO, CoreMedia
|
||||
, Foundation, CoreGraphics, MediaToolbox
|
||||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "keybase-${version}";
|
||||
@@ -18,7 +19,11 @@ buildGoPackage rec {
|
||||
sha256 = "1sw6v3vf544vp8grw8p287cx078mr9v0v1wffcj6f9p9shlwj7ic";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ AVFoundation AudioToolbox ImageIO CoreMedia Foundation CoreGraphics MediaToolbox ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
AVFoundation AudioToolbox ImageIO CoreMedia Foundation CoreGraphics MediaToolbox
|
||||
# Needed for OBJC_CLASS_$_NSData symbols.
|
||||
cf-private
|
||||
];
|
||||
buildFlags = [ "-tags production" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
Reference in New Issue
Block a user