quartz-wm: add cf-private
Undefined symbols for architecture x86_64:
"_CFNotificationCenterAddObserver", referenced from:
_main in main.o
"_CFNotificationCenterGetDistributedCenter", referenced from:
_main in main.o
"_OBJC_CLASS_$_NSTimer", referenced from:
objc-class-ref in main.o
objc-class-ref in x-screen.o
"_OBJC_EHTYPE_$_NSException", referenced from:
GCC_except_table25 in main.o
ld: symbol(s) not found for architecture x86_64
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchurl, xorg, pixman, pkgconfig, AppKit, Xplugin, darwin }:
|
{ stdenv, fetchurl, xorg, pixman, pkgconfig, AppKit, Foundation, Xplugin, cf-private }:
|
||||||
|
|
||||||
let version = "1.3.1";
|
let version = "1.3.1";
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
@@ -19,9 +19,11 @@ in stdenv.mkDerivation {
|
|||||||
xorg.libXext
|
xorg.libXext
|
||||||
pixman
|
pixman
|
||||||
pkgconfig
|
pkgconfig
|
||||||
AppKit Xplugin darwin.apple_sdk.frameworks.Foundation
|
AppKit Xplugin Foundation
|
||||||
|
# Needed for CFNotificationCenterAddObserver symbols.
|
||||||
|
cf-private
|
||||||
];
|
];
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
license = licenses.apsl20;
|
license = licenses.apsl20;
|
||||||
platforms = platforms.darwin;
|
platforms = platforms.darwin;
|
||||||
maintainers = with maintainers; [ matthewbauer ];
|
maintainers = with maintainers; [ matthewbauer ];
|
||||||
|
|||||||
@@ -13845,7 +13845,8 @@ with pkgs;
|
|||||||
xquartz = callPackage ../servers/x11/xquartz { };
|
xquartz = callPackage ../servers/x11/xquartz { };
|
||||||
quartz-wm = callPackage ../servers/x11/quartz-wm {
|
quartz-wm = callPackage ../servers/x11/quartz-wm {
|
||||||
stdenv = clangStdenv;
|
stdenv = clangStdenv;
|
||||||
inherit (darwin.apple_sdk.frameworks) AppKit;
|
inherit (darwin) cf-private;
|
||||||
|
inherit (darwin.apple_sdk.frameworks) AppKit Foundation;
|
||||||
inherit (darwin.apple_sdk.libs) Xplugin;
|
inherit (darwin.apple_sdk.libs) Xplugin;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user