mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
qt5.qtbase: add cf-private on darwin
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_NSDate", referenced from: objc-class-ref in qcore_foundation.o "_OBJC_CLASS_$_NSURL", referenced from: objc-class-ref in qcore_foundation.o "_OBJC_CLASS_$_NSData", referenced from: objc-class-ref in qcore_foundation.o "_CFURLCopyResourcePropertyForKey", referenced from: hasResourcePropertyFlag(QFileSystemMetaData const&, QFileSystemEntry const&, __CFString const*) in qfilesystemengine_unix.o "_CFURLCreateBookmarkDataFromFile", referenced from: QFileSystemEngine::getLinkTarget(QFileSystemEntry const&, QFileSystemMetaData&) in qfilesystemengine_unix.o "_kCFURLIsAliasFileKey", referenced from: QFileSystemEngine::fillMetaData(QFileSystemEntry const&, QFileSystemMetaData&, QFlags<QFileSystemMetaData::MetaDataFlag>) in qfilesystemengine_unix.o "_kCFURLIsHiddenKey", referenced from: QFileSystemEngine::fillMetaData(QFileSystemEntry const&, QFileSystemMetaData&, QFlags<QFileSystemMetaData::MetaDataFlag>) in qfilesystemengine_unix.o "_kCFURLIsPackageKey", referenced from: QFileSystemEngine::fillMetaData(QFileSystemEntry const&, QFileSystemMetaData&, QFlags<QFileSystemMetaData::MetaDataFlag>) in qfilesystemengine_unix.o "_CFURLCreateByResolvingBookmarkData", referenced from: QFileSystemEngine::getLinkTarget(QFileSystemEntry const&, QFileSystemMetaData&) in qfilesystemengine_unix.o ld: symbol(s) not found for architecture x86_64
This commit is contained in:
parent
6141939d6e
commit
9a1a872b4a
@ -53,6 +53,7 @@ stdenv.mkDerivation {
|
||||
if stdenv.isDarwin
|
||||
then with darwin.apple_sdk.frameworks;
|
||||
[
|
||||
# TODO: move to buildInputs, this should not be propagated.
|
||||
AGL AppKit ApplicationServices Carbon Cocoa CoreAudio CoreBluetooth
|
||||
CoreLocation CoreServices DiskArbitration Foundation OpenGL
|
||||
darwin.libobjc libiconv
|
||||
@ -77,6 +78,9 @@ stdenv.mkDerivation {
|
||||
[ libinput ]
|
||||
++ lib.optional withGtk3 gtk3
|
||||
)
|
||||
++ lib.optional stdenv.isDarwin
|
||||
# Needed for OBJC_CLASS_$_NSDate symbols.
|
||||
[ darwin.cf-private ]
|
||||
++ lib.optional developerBuild gdb
|
||||
++ lib.optional (cups != null) cups
|
||||
++ lib.optional (mysql != null) mysql.connector-c
|
||||
|
Loading…
Reference in New Issue
Block a user