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
This commit is contained in:
parent
7fd359f2f9
commit
d4b7c2b88f
@ -6,7 +6,7 @@
|
|||||||
sha256 = "18ifhv5q9prd175q3vxbqf6qyvkk6bc7d2lhqdk0q78i68kv9y0c";
|
sha256 = "18ifhv5q9prd175q3vxbqf6qyvkk6bc7d2lhqdk0q78i68kv9y0c";
|
||||||
}
|
}
|
||||||
# apple frameworks
|
# apple frameworks
|
||||||
, Carbon, Cocoa
|
, cf-private, Carbon, Cocoa
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -19,7 +19,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ gettext pkgconfig ];
|
nativeBuildInputs = [ gettext pkgconfig ];
|
||||||
buildInputs = [ ncurses ]
|
buildInputs = [ ncurses ]
|
||||||
++ stdenv.lib.optionals stdenv.hostPlatform.isDarwin [ Carbon Cocoa ];
|
++ stdenv.lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
|
Carbon Cocoa
|
||||||
|
# Needed for OBJC_CLASS_$_NSArray symbols.
|
||||||
|
cf-private
|
||||||
|
];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-multibyte"
|
"--enable-multibyte"
|
||||||
|
@ -19378,6 +19378,7 @@ with pkgs;
|
|||||||
};
|
};
|
||||||
|
|
||||||
vim = callPackage ../applications/editors/vim {
|
vim = callPackage ../applications/editors/vim {
|
||||||
|
inherit (darwin) cf-private;
|
||||||
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
|
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user