git.iko.soy/typeable/nixpkgs
on master help sign in
vim: add cf-private on darwin

Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_NSArray", referenced from: objc-class-ref in os_macosx.o ld: symbol(s) not found for architecture x86_64

commitd4b7c2b88f3b121429a08c04cb50dcef48319b8f authorDaiderd Jordan <daiderd@gmail.com> dateMon 5 Nov 2018, 20:30 (8 years ago) parent7fd359f
2 files changed+7−2
pkgs/applications/editors/vim/default.nix+6−2 pkgs/top-level/all-packages.nix+1
pkgs/applications/editors/vim/default.nix+6−2
@@ -6,7 +6,7 @@
66 sha256 = "18ifhv5q9prd175q3vxbqf6qyvkk6bc7d2lhqdk0q78i68kv9y0c";
77 }
88# apple frameworks
9−, Carbon, Cocoa
9+, cf-private, Carbon, Cocoa
1010}:
1111
1212let
@@ -19,7 +19,11 @@ stdenv.mkDerivation rec {
1919
2020 nativeBuildInputs = [ gettext pkgconfig ];
2121 buildInputs = [ ncurses ]
22− ++ stdenv.lib.optionals stdenv.hostPlatform.isDarwin [ Carbon Cocoa ];
22+ ++ stdenv.lib.optionals stdenv.hostPlatform.isDarwin [
23+ Carbon Cocoa
24+ # Needed for OBJC_CLASS_$_NSArray symbols.
25+ cf-private
26+ ];
2327
2428 configureFlags = [
2529 "--enable-multibyte"
pkgs/top-level/all-packages.nix+1
@@ -19378,6 +19378,7 @@ with pkgs;
1937819378 };
1937919379
1938019380 vim = callPackage ../applications/editors/vim {
19381+ inherit (darwin) cf-private;
1938119382 inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
1938219383 };
1938319384