diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2018-11-17 20:59:38 +0100 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2018-11-17 21:02:22 +0100 |
commit | 942d90b282bf5aa7034238aba16fa0dc6e50daa8 (patch) | |
tree | de1a8ff5a9959ddf5f8c436cd6da85ce3183495c /pkgs/development/libraries/qt-5/modules/qtmacextras.nix | |
parent | 41391e9cd807373e1960344e9b4ee2588d172318 (diff) |
qt5.qtmacextras: include cf-private on darwin
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_NSData", referenced from: objc-class-ref in qmacfunctions.o "_OBJC_CLASS_$_NSMutableArray", referenced from: objc-class-ref in qmactoolbar.o objc-class-ref in qmactoolbardelegate.o ld: symbol(s) not found for architecture x86_64
Diffstat (limited to 'pkgs/development/libraries/qt-5/modules/qtmacextras.nix')
-rw-r--r-- | pkgs/development/libraries/qt-5/modules/qtmacextras.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/libraries/qt-5/modules/qtmacextras.nix b/pkgs/development/libraries/qt-5/modules/qtmacextras.nix index 5a3b1fe35cd8c..3f254885986eb 100644 --- a/pkgs/development/libraries/qt-5/modules/qtmacextras.nix +++ b/pkgs/development/libraries/qt-5/modules/qtmacextras.nix @@ -1,9 +1,11 @@ -{ qtModule, qtbase, lib }: +{ stdenv, qtModule, qtbase, cf-private }: qtModule { name = "qtmacextras"; - qtInputs = [ qtbase ]; - meta = with lib; { + qtInputs = [ qtbase ] + # Needed for _OBJC_CLASS_$_NSData symbols. + ++ stdenv.lib.optional stdenv.isDarwin cf-private; + meta = with stdenv.lib; { maintainers = with maintainers; [ periklis ]; platforms = platforms.darwin; }; |