summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/vim
AgeCommit message (Collapse)Author
2020-07-05vim_configurable: only run patchelf on gvim if gvim was builtBenjamin Esham
2020-06-21vim_configureable: improve luajit supportDoron Behar
2020-05-10vim: 8.2.0510 -> 8.2.0701R. RyanTM
2020-05-03Merge pull request #85321 from lilyball/macvimDmitry Kalinkin
macvim: 8.2.319 -> 8.2.539
2020-04-28macvim: Clean up hybrid compilation environmentLily Ballard
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-21vim: 8.2.0343 -> 8.2.0510R. RyanTM
2020-04-15macvim: 8.2.319 -> 8.2.539Lily Ballard
2020-04-15macvim: Fix compatibility with Xcode 11.4Lily Ballard
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-10treewide: Per RFC45, remove all unquoted URLsMichael Reilly
2020-03-28Merge pull request #82097 from millerjason/bugfix/vim_configurableDaiderd Jordan
vim_configurable: fix default gui for darwin
2020-03-27vimacs: init at 2016-03-24Jason Miller
2020-03-19vim_configurable: fix default gui for darwinJason Miller
2020-03-08Merge staging-next into masterFrederik Rietdijk
2020-03-06vim: 8.2.0227 -> 8.2.0343R. RyanTM
2020-03-03macvim: 8.1.2234 -> 8.2.319Lily Ballard
2020-02-16vim: 8.2.0013 -> 8.2.0227R. RyanTM
2019-12-31vim: 8.1.2407 -> 8.2.0013Eduardo Quiros
2019-12-10vimHugeX: 8.1.2237 -> 8.1.2407R. RyanTM
2019-11-20Merge master into staging-nextFrederik Rietdijk
2019-11-19vim_configurable: Add vi symlink to vimDaniel Schaefer
2019-11-19Merge master into staging-nextFrederik Rietdijk
2019-11-17macvim: Add -headerpad_max_install_names (#73592)Lily Ballard
We were adding this to the compilation of MacVim, but not to the compilation of the separate Vim binary. We may not actually need it for MacVim at all, but omitting it for the Vim binary meant our postInstall phase would fail for some people. Fixes #73514
2019-11-12Merge pull request #72687 from r-ryantm/auto-update/vimmarkuskowa
vim: 8.1.2188 -> 8.1.2237
2019-11-07macvim: snapshot-157 -> snapshot-161Lily Ballard
2019-11-03vim: 8.1.2188 -> 8.1.2237R. RyanTM
2019-10-24vim: 8.1.1967 -> 8.1.2188R. RyanTM
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/vim/versions
2019-10-09Merge pull request #69576 from lilyball/macvim-no-chrootworldofpeace
macvim: Add sandboxProfile
2019-09-27macvim: Add sandboxProfileLily Ballard
This allows full filesystem access except for Homebrew. This is because we don't know where Xcode will be installed so we can't just whitelist it and its dependencies.
2019-09-26Merge pull request #68534 from lilyball/macvim-xcode-11-fixJörg Thalheim
macvim: fix compatibility with Xcode 11
2019-09-11macvim: fix compatibility with Xcode 11Lily Ballard
This fixes several Xcode 11 incompatibilities with MacVim, including an issue where it wasn't inheriting the deployment target correctly to begin with.
2019-09-11macvim: work around ibtool issueLily Ballard
It seems that /usr/bin/ibtool marks stdin/stdout/stderr as nonblocking, which can cause the subsequent build phase to fail when it tries to write to stdout. I don't know why this problem just started happening for me, but preventing ibtool from inheriting fds fixes the problem.
2019-09-04Merge branch 'master' into staging-nextVladimír Čunát
2019-09-03vim: 8.1.1547 -> 8.1.1967 (#68011)averelld
2019-08-28treewide: remove redundant recvolth
2019-08-26treewide: remove redundant quotesvolth
2019-08-24Merge pull request #67157 from r-ryantm/auto-update/vimMarek Mahut
vim: 8.1.1547 -> 8.1.1866
2019-08-20vim: 8.1.1547 -> 8.1.1866R. RyanTM
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/vim/versions
2019-08-17Merge staging-next into stagingFrederik Rietdijk
2019-08-16Merge pull request #65713 from lilyball/macvimAaron Andersen
macvim: 8.1.1517 -> 8.1.1722
2019-08-15treewide: name -> pname (easy cases) (#66585)volth
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
2019-08-01macvim: 8.1.1517 -> 8.1.1722Lily Ballard
2019-07-20vim: 8.1.1432 -> 8.1.1547R. RyanTM
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/vim/versions
2019-07-03vim: remove cf-privateDaiderd Jordan
2019-06-16treewide: remove unused variables (#63177)volth
* treewide: remove unused variables * making ofborg happy
2019-06-11macvim: 7.4.909 -> 8.1.1517Lily Ballard
Fix up the macvim package to build again, with the latest snapshot. The patchfile has been recreated by manually reapplying all of the changes from the old patchfile, and the other changes in here were figured out by trial and error (such as the need to unset `LD`). Also tweak the package to use python37 by default, and add an option to go back to python27 if desired. Disable Sparkle so the user isn't prompted to update a readonly package.
2019-06-05Merge #62590: vim: 8.1.1234 -> 8.1.1432 (security)Maximilian Bosch
(cherry picked from commit 7c53ac01845a63f27ff5281c1b4c344eb406512a) Picked from staging to master, as it's not really a big rebuild and it includes an important security fix: https://github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md
2019-05-25Merge master into staging-nextFrederik Rietdijk
2019-05-24vim_configurable: build against gtk{2,3}-x11 instead of gtk{2,3} to fix ↵Dhruv Dang
builds on darwin
2019-05-02vim: 8.1.0675 -> 8.1.1234R. RyanTM
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/vim/versions
2019-04-07vim: 8.1.0578 -> 8.1.0675 (#53172)R. RyanTM
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/vim/versions