nixpkgs/pkgs/applications/editors
Lily Ballard ee28064389 macvim: Clean up hybrid compilation environment
MacVim compiles the Vim part using `/usr/bin/clang` and the GUI part
using Xcode. The Xcode portion always uses Xcode's own SDK and we have
no workable alternative. The Vim portion so far has been compiling using
a hybrid compilation environment, where it uses the SDK for most stuff
but picks up a bunch of library linker paths (including libSystem) by
virtue of Ruby's LDFLAGS. This hybrid compilation environment meant that
if the SDK headers referenced a symbol that the library itself didn't
have, this could produce link errors.

Previously we attempted to fix this by synthesizing an include path that
contained just the one header from Nix's Libsystem that referenced the
missing symbol, to get rid of the reference and allow linking to work
again, but this was very hacky and runs the risk of future Xcode SDK
changes producing the same errors with different headers, or of future
SDK versions expecting the intercepted header to contain a definition
that Nix's doesn't.

This new approach is to just clean up the compilation environment such
that the Vim portion is compiling against the Xcode SDK as well, by
sanitizing the LDFLAGS produced by the configure script so it stops
referencing Nix's versions of OS libraries. This means the resulting Vim
binary no longer depends at runtime on Nix for anything except the
scripting language support, but that's how it's been for the MacVim
binary all along anyway, and this approach should keep us insulated
against future Xcode SDK changes.
2020-04-28 13:54:33 -07:00
..
aewan treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
amp amp: fix strict deps build 2020-03-29 12:37:24 +01:00
android-studio android-studio: Fix the license (unfree) 2020-04-12 17:27:54 +02:00
apostrophe uberwriter: renamed to apostrophe 2020-03-31 15:08:25 +02:00
aseprite treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
atom treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
bless bless: init at 0.6.2 2020-02-01 13:01:46 +01:00
bluefish treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
bonzomatic treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
brackets treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
bvi treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
bviplus treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
codeblocks treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
deadpixi-sam treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
dhex treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
dit dit: 0.5 -> 0.6 2020-04-09 15:42:03 +00:00
eclipse treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ed ed: 1.15 -> 1.16 2020-02-27 10:07:48 +01:00
edbrowse treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
edit treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
elvis treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
emacs treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
emacs-modes treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
featherpad treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
flpsed treewide: add quotes to recently-changed urls 2020-03-28 00:05:50 +01:00
focuswriter focuswriter: 1.7.4 -> 1.7.5 2020-03-06 09:52:03 +00:00
fte treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
geany geany: clean up and switch to GTK3 2019-11-28 00:05:22 +01:00
ghostwriter ghostwriter: 1.8.0 -> 1.8.1 2020-02-23 13:42:30 -08:00
glow Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin" 2020-03-27 07:33:21 +00:00
gnome-builder treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gnome-latex treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
gobby treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
hecate treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
heme treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
hexcurse treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
hexdino treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
hexedit treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
howl treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ht treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
jedit treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
jetbrains Merge pull request #84810 from kuznero/master 2020-04-11 14:55:30 +02:00
joe treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
jucipp treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
jupp treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
jupyter treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
kakoune treewide: quoted urls for RFC45, only the rebuilds 2020-04-05 10:17:15 -04:00
kdevelop5 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
kile treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
kodestudio treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
leafpad treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
leo-editor leo-editor: fix makeDesktopItem categories 2020-04-09 10:47:54 -07:00
lighttable treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
manuskript treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mg treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
micro treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mindforger treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
mle mle: 1.4.2 -> 1.4.3 2020-02-14 18:10:39 +00:00
moe treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
monodevelop treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
music/tuxguitar treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nano treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ne ne: 3.2.1 -> 3.3.0 2020-02-29 03:56:46 +00:00
nedit nedit: *Flags are lists 2019-12-30 12:15:22 +01:00
neovim treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
netbeans netbeans: added myself to maintainers list 2020-03-28 14:26:00 +01:00
notepadqq treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nvi treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
nvpy treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
okteta kdeApplications.okteta: 0.26.2 -> 0.26.3 2020-02-09 13:59:25 +01:00
quartus-prime quartus: Export sub-commands 2020-03-24 17:34:21 +00:00
quilter quilter: 2.1.2 -> 2.2.2 2020-04-01 18:19:05 +00:00
qxmledit treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
rednotebook rednotebook: 2.16 -> 2.18 2020-03-06 07:26:26 +01:00
retext treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
rstudio treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
scite treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
sigil treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
standardnotes treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
sublime treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
supertux-editor treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
tecoc treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
texmacs treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
texmaker treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
texstudio treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
textadept treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
texworks texworks: 0.6.4 -> 0.6.5 2020-04-01 19:32:43 -07:00
thonny thonny: 3.2.6 -> 3.2.7 2020-03-12 09:43:39 +00:00
tiled tiled: 1.3.2 -> 1.3.3 2020-03-04 12:43:57 +00:00
tweak treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
typora treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
uemacs treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
vbindiff treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
vim macvim: Clean up hybrid compilation environment 2020-04-28 13:54:33 -07:00
vis treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
vscode treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
wily treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
wxhexeditor treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
xmlcopyeditor treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
yi treewide: *inputs are lists 2019-12-31 01:09:25 +01:00
zile treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00