diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2018-11-06 18:48:14 +0100 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2018-11-06 18:48:14 +0100 |
commit | f00a4af18fc7a3bae3e59b370554f82c882e3a42 (patch) | |
tree | bbfbe75655072eca5252d73cb49836448664c63a | |
parent | f495707eb68cf56b4611ed57e2ae7a05740493d9 (diff) |
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
-rw-r--r-- | pkgs/servers/x11/quartz-wm/default.nix | 8 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/servers/x11/quartz-wm/default.nix b/pkgs/servers/x11/quartz-wm/default.nix index d724a81debbb7..ccb3937ac85f1 100644 --- a/pkgs/servers/x11/quartz-wm/default.nix +++ b/pkgs/servers/x11/quartz-wm/default.nix @@ -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"; in stdenv.mkDerivation { @@ -19,9 +19,11 @@ in stdenv.mkDerivation { xorg.libXext pixman 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; platforms = platforms.darwin; maintainers = with maintainers; [ matthewbauer ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2cc9beb895fd0..060c4df627a6d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13845,7 +13845,8 @@ with pkgs; xquartz = callPackage ../servers/x11/xquartz { }; quartz-wm = callPackage ../servers/x11/quartz-wm { 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; }; |