nixpkgs/pkgs/applications/editors/vim
Lily Ballard f3ccd5d6ba macvim: Fix compatibility with Xcode 11.4
Xcode 11.4 has an updated sys/_types/_fd_def.h header that references a
new symbol from libSystem. This is a problem because we're using
`/usr/bin/clang` to compile the non-Xcode portion, and this pulls in
headers from Xcode's SDK. Somehow it's still linking to the Nix
libraries (I can't figure out where configure finds these to put into
`LDFLAGS` as we're not using the cc-wrapper). The end result is we get a
linker error where this new symbol can't be found at link time, even
though it's a weak import and isn't required at runtime.

Ideally we'd provide a full 10.12 SDK to `/usr/bin/clang`, but we can't
do that because even the DevSDK package we use for our 10.12 SDK doesn't
contain everything (in particular it's missing nearly all dylibs) so we
just get linker errors if we do that.

Instead we'll just do a horrible hack and provide an `-isystem` path to
a folder structure that contains only the 10.12 `sys/_types/_fd_def.h`
header. This avoids the new symbol without causing all the errors that
happen if we pull in the entire `${darwin.Libsystem}/include`.
2020-04-15 11:16:24 -07:00
..
cflags-prune.diff vim_configurable: misc improvements 2016-11-07 18:55:21 +01:00
common.nix vim: 8.2.0227 -> 8.2.0343 2020-03-06 07:08:49 +01:00
configurable.nix vim_configurable: fix default gui for darwin 2020-03-19 21:08:51 -04:00
default.nix treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ft-nix-support.patch vim_configurable: replace default ftNix patch with sources from vim-nix 2018-04-24 22:56:25 +02:00
macvim.nix macvim: Fix compatibility with Xcode 11.4 2020-04-15 11:16:24 -07:00
macvim.patch macvim: snapshot-157 -> snapshot-161 2019-11-07 13:24:38 -08:00
qvim.nix treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
vimacs.nix vimacs: init at 2016-03-24 2020-03-27 14:39:22 -04:00