Commit Graph

385 Commits

Author SHA1 Message Date
AndersonTorres
dd88285ba0 vimPlugins: update 2022-02-24 20:29:30 -03:00
AndersonTorres
93bc3c2aa4 vimPlugins: update 2022-02-24 20:29:30 -03:00
AndersonTorres
939e2fad0b vim-plugin-names: updates
+ liuchengxu/space-vim
+ SpaceVim/SpaceVim
2022-02-24 20:29:12 -03:00
AndersonTorres
b2a83e3c95 vim: update the updaters!
update.py and its companion update-shell.nix need to know where they are, else
they can't find the root default.nix of Nixpkgs. Because of this, I further
added a small piece of documentation about those path-dependent pieces of code.
2022-02-24 20:26:07 -03:00
AndersonTorres
3f19fc37a3 Move misc/vim-plugins to applications/editors/vim/plugins 2022-02-24 20:26:07 -03:00
R. Ryantm
a7cf36f841 vim: 8.2.4227 -> 8.2.4350 2022-02-13 12:37:02 +00:00
Brian Leung
e5307bdda5 macvim: 8.2.1719 -> 8.2.3455 2022-02-12 19:40:05 -08:00
R. Ryantm
ed89447f2c vim: 8.2.4186 -> 8.2.4227 2022-01-28 23:47:19 -08:00
FliegendeWurst
ea5a1dd5e7 vim: 8.2.3877 -> 8.2.4186 2022-01-23 10:40:10 +01:00
R. Ryantm
f0cf6c3918 vim: 8.2.3848 -> 8.2.3877 2021-12-25 10:58:34 -08:00
legendofmiracles
134376e256
vim: 8.2.3451 -> 8.2.3848 2021-12-19 08:28:57 -06:00
R. RyanTM
1bd288093e
vim: 8.2.3337 -> 8.2.3451 (#138870) 2021-10-20 14:55:11 +02:00
arcnmx
e13d27929c vim_configurable: fix cross compile 2021-09-17 22:50:45 -07:00
arcnmx
cade060da3 vim: remove unneeded cross flag
> This doesn't seem to be needed for recent autoconf
2021-09-17 22:50:45 -07:00
github-actions[bot]
a13bf1828b
Merge master into staging-next 2021-09-12 18:01:21 +00:00
Matthieu Coudron
56f823dd5c vimPlugins: shorten rtpPath
nixpkgs creates a hierarchy of 3 folders share/runtime/<PKG_NAME> for no reason ?
makes debugging harder as well as paths longer when patching so this
removes this nested folders.
2021-09-12 00:14:14 +02:00
R. RyanTM
b40c96c340 vim: 8.2.2567 -> 8.2.3337 2021-08-14 17:27:51 +00:00
Sandro
c5c4ef90e0
Merge pull request #111961 from lilyball/vimacs-version
vimacs: don't assume vimPackage has a version attribute
2021-08-12 01:50:18 +02:00
Sandro Jäckel
388a4ef423
treewide: convert all links git.archlinux.org to github.com/archlinux/svntogit-* 2021-07-14 03:35:21 +02:00
Jason Lau
e7f32dbbe6
Merge branch 'master' into patch-2 2021-06-14 12:08:30 -07:00
github-actions[bot]
eb499aa20e
Merge master into staging-next 2021-03-25 00:17:22 +00:00
Doron Behar
c49d77a600 vim_configurable: Make disabling guiSupport easier
Now it's possible to use in an overlay `guiSupport` set to `false`
(boolean) and doing so will disable many X related dependencies from
being used and the closure would be reduced automatically - Close #116716.
2021-03-20 13:01:48 +02:00
R. RyanTM
1a9d746de5 vim: 8.2.1522 -> 8.2.2567 2021-03-20 09:21:45 +01:00
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Lily Ballard
276ce86a10 vimacs: don't assume vimPackage has a version attribute
`vimPackage` may not have a version attribute if it was specified using
a full name instead, such as with a `buildEnv` call. This can happen
right now on Darwin when `vimPackage` is `macvim.configure {…}`.
2021-02-04 13:27:38 -08:00
Ben Siraphob
3bbad8b041 treewide: remove inherited stdenv.lib 2021-01-27 12:44:43 +07:00
volth
bc0d605cf1 treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Jason Lau
9fd2cb7597 vim_configurable: restore python derivation overriding
In the current Vim, the Python support can be implemented by linking to
the Python library, e.g., lib/libpython3.8.dylib on darwin.  The
previous workaround of wrapping Vim to prefix $PATH is not sufficient
anymore.  Since in the current Vim, the Python interpreter is no longer
invoked, but instead, the dynamically linked library is used, in which
only the original Python modules are loaded, causing plugins to fail
to load their required Python modules.

Experiments show that, however, it is controlled by the $NIX_PYTHONPATH
environment variable.  In this commit, we add the required environment
variable to the wrapped Vim workaround as previously proposed.  So that
the Vim plugins can use Python modules in the specified Python derivation.
2020-11-17 10:54:42 -08:00
Janne Heß
576a928794
vim: Get rid of Python 2 dependency 2020-11-09 13:02:04 +01:00
Lily Ballard
93b0accc76
macvim: fix building with nix-daemon (#102975)
When building MacVim with nix-daemon it tries to place the derived data
into a path rooted in `/var/empty`, which fails. Specifying the derived
data path ourselves fixes this problem.
2020-11-05 21:00:31 -05:00
Mario Rodas
77cf8388be
Merge pull request #93733 from lilyball/macvim-plugins
macvim: add configuration similar to vim_configurable and neovim
2020-09-29 05:13:35 -05:00
Lily Ballard
72e3217bf1 macvim: add configuration similar to vim_configurable and neovim
vim_configurable and neovim have both supported a mechanism to build
them with a custom vimrc that supports plugins from Nix. This updates
MacVim to support the same sort of configuration using an expression
like

  macvim.configure {
    customRC = ''
      # custom configuration goes here
    '';
    packages.myVimPackage = with pkgs.vimPlugins; {
      start = [ youcompleteme fugitive ];
      opt = [ phpCompletion elm-vim ];
    }
  }

Once configured, .override will allow for editing the configuration.

Like vim_configurable and neovim, configuring macvim does not require
rebuilding it. Also like them, configuring macvim turns off the user
vimrc file.
2020-09-28 16:03:34 -07:00
Lily Ballard
9daf3b994b macvim: 8.2.539 -> 8.2.1719 2020-09-28 15:33:36 -07:00
Lily Ballard
d3b1d59d84 macvim: Properly link against Nix ncurses
Since we're not using the Nix compiler, our buildInputs aren't
automatically exposed to the compiler, which means it was actually
compiling against system libncurses instead of Nix libncurses.

Also remove the `-Wno-error` from the make flags (and the unnecessary
`PREFIX` definition) in favor of using a much more targeted error
suppression at the configure flags. This works around an issue where
implicit function definitions are considered an error and the configure
script was trying to compile a file tht invoked an ncurses function
without including the relevant header.
2020-09-28 15:12:07 -07:00
R. RyanTM
f02984aace vim: 8.2.1123 -> 8.2.1522 2020-08-31 17:33:28 -07:00
Peter Hoeg
8401a6262e qvim: drop it
Upstream has moved development to neovim instead where this frontend is
now based on Qt5.
2020-08-31 23:04:00 +08:00
Frederik Rietdijk
a3a40ac7cc Merge staging-next into staging 2020-07-11 09:00:18 +02:00
R. RyanTM
8d28b320b9 vim: 8.2.0701 -> 8.2.1123 2020-07-07 22:36:41 +00:00
Benjamin Esham
e45ddb7588 vim_configurable: only run patchelf on gvim if gvim was built 2020-07-05 15:17:23 -04:00
Doron Behar
8acdd6db79 vim_configureable: improve luajit support 2020-06-21 14:45:11 +02:00
R. RyanTM
1ad8565422 vim: 8.2.0510 -> 8.2.0701 2020-05-10 21:33:28 +00:00
Dmitry Kalinkin
20eff68d97
Merge pull request #85321 from lilyball/macvim
macvim: 8.2.319 -> 8.2.539
2020-05-03 15:49:03 -04:00
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
R. RyanTM
1c7bcaa6db vim: 8.2.0343 -> 8.2.0510 2020-04-21 08:39:52 +02:00
Lily Ballard
e4311a77b4 macvim: 8.2.319 -> 8.2.539 2020-04-15 11:16:24 -07:00
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
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Daiderd Jordan
67938c1bfd
Merge pull request #82097 from millerjason/bugfix/vim_configurable
vim_configurable: fix default gui for darwin
2020-03-28 11:50:32 +01:00
Jason Miller
4234ef550c vimacs: init at 2016-03-24 2020-03-27 14:39:22 -04:00
Jason Miller
43ff2ab350 vim_configurable: fix default gui for darwin 2020-03-19 21:08:51 -04:00
Frederik Rietdijk
0eb0ddc4db Merge staging-next into master 2020-03-08 08:11:01 +01:00
R. RyanTM
43ccb035b9 vim: 8.2.0227 -> 8.2.0343 2020-03-06 07:08:49 +01:00
Lily Ballard
7724875cae macvim: 8.1.2234 -> 8.2.319 2020-03-03 18:02:27 -08:00
R. RyanTM
452f481853 vim: 8.2.0013 -> 8.2.0227 2020-02-16 08:36:56 +01:00
Eduardo Quiros
3e50d4a6f3 vim: 8.1.2407 -> 8.2.0013 2019-12-31 09:28:42 +01:00
R. RyanTM
f45df9cd47 vimHugeX: 8.1.2237 -> 8.1.2407 2019-12-10 18:49:04 +01:00
Frederik Rietdijk
65edeb8633 Merge master into staging-next 2019-11-20 10:01:49 +01:00
Daniel Schaefer
3de2aeb519 vim_configurable: Add vi symlink to vim 2019-11-19 22:05:06 +01:00
Frederik Rietdijk
f6b39f852e Merge master into staging-next 2019-11-19 10:53:44 +01:00
Lily Ballard
505f913ceb macvim: Add -headerpad_max_install_names (#73592)
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-17 20:16:47 -05:00
markuskowa
5979caeab0
Merge pull request #72687 from r-ryantm/auto-update/vim
vim: 8.1.2188 -> 8.1.2237
2019-11-12 01:05:22 +01:00
Lily Ballard
647ee3c2f0 macvim: snapshot-157 -> snapshot-161 2019-11-07 13:24:38 -08:00
R. RyanTM
02c3bcee61 vim: 8.1.2188 -> 8.1.2237 2019-11-03 01:49:38 -08:00
R. RyanTM
bacc6dcd56 vim: 8.1.1967 -> 8.1.2188
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-24 21:17:47 -07:00
worldofpeace
586208204e
Merge pull request #69576 from lilyball/macvim-no-chroot
macvim: Add sandboxProfile
2019-10-09 20:41:29 +00:00
Lily Ballard
cf6fd91804 macvim: Add sandboxProfile
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-27 09:40:25 -07:00
Jörg Thalheim
05a92768f2
Merge pull request #68534 from lilyball/macvim-xcode-11-fix
macvim: fix compatibility with Xcode 11
2019-09-26 22:22:46 +01:00
Lily Ballard
4563496375 macvim: fix compatibility with Xcode 11
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-11 20:13:36 -07:00
Lily Ballard
7f481e807f macvim: work around ibtool issue
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-11 16:44:13 -07:00
Vladimír Čunát
4aad2947f8
Merge branch 'master' into staging-next 2019-09-04 11:00:56 +02:00
averelld
42607bb059 vim: 8.1.1547 -> 8.1.1967 (#68011) 2019-09-03 22:34:37 +02:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
Marek Mahut
783a689ded
Merge pull request #67157 from r-ryantm/auto-update/vim
vim: 8.1.1547 -> 8.1.1866
2019-08-24 15:59:49 +02:00
R. RyanTM
0fdf3933fb vim: 8.1.1547 -> 8.1.1866
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-20 20:32:53 -07:00
Frederik Rietdijk
fe9a3e3e63 Merge staging-next into staging 2019-08-17 09:39:23 +02:00
Aaron Andersen
08161d9013
Merge pull request #65713 from lilyball/macvim
macvim: 8.1.1517 -> 8.1.1722
2019-08-16 22:08:25 -04:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Lily Ballard
e7f5a19f4a macvim: 8.1.1517 -> 8.1.1722 2019-08-01 00:24:23 -07:00
R. RyanTM
2b974b576c vim: 8.1.1432 -> 8.1.1547
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-20 14:13:43 +02:00
Daiderd Jordan
b0e201f349
vim: remove cf-private 2019-07-03 22:20:21 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Lily Ballard
95bfb9938f macvim: 7.4.909 -> 8.1.1517
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-11 11:21:09 -07:00
Maximilian Bosch
a6549852e8
Merge #62590: vim: 8.1.1234 -> 8.1.1432 (security)
(cherry picked from commit 7c53ac0184)
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-06-05 21:56:01 +02:00
Frederik Rietdijk
b2ab860db3 Merge master into staging-next 2019-05-25 12:38:00 +02:00
Dhruv Dang
ca799c5187 vim_configurable: build against gtk{2,3}-x11 instead of gtk{2,3} to fix builds on darwin 2019-05-24 10:51:59 -07:00
R. RyanTM
a529bc7f59 vim: 8.1.0675 -> 8.1.1234
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-05-02 16:52:13 -07:00
R. RyanTM
94169b1666 vim: 8.1.0578 -> 8.1.0675 (#53172)
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-07 12:46:20 +00:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
R. RyanTM
7da09859a7
vim: 8.1.0535 -> 8.1.0578
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
2018-12-16 18:08:29 +00:00
R. RyanTM
b07330de54 vim: 8.1.0490 -> 8.1.0535
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
2018-11-17 23:32:21 -08:00
Daiderd Jordan
d4b7c2b88f
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
2018-11-05 20:30:02 +01:00
R. RyanTM
4552801c81
vim: 8.1.0450 -> 8.1.0490
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
2018-10-26 23:31:16 +02:00
R. RyanTM
759703419a vim: 8.1.0348 -> 8.1.0450 (#47725)
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
2018-10-12 23:05:16 +02:00
R. RyanTM
6fcbae1e9c vim: 8.1.0146 -> 8.1.0348 (#46181)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
vim
2018-09-15 17:02:58 +02:00
John Ericson
0828e2d8c3 treewide: Remove usage of remaining redundant platform compatability stuff
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
2018-08-30 17:20:32 -04:00
Daiderd Jordan
c66c469433
Merge pull request #45352 from LnL7/darwin-vim-x11
vim_configurable: fix darwin build with guiSupport
2018-08-28 21:14:22 +02:00
Michael Raskin
083220867c Improve re-wrapping in case of GTK3 2018-08-28 13:32:55 +03:00
Daiderd Jordan
cfc3d7c918
vim_configurable: use gtk3 on darwin 2018-08-24 00:38:12 +02:00
Daiderd Jordan
e2ef327652
vim_configurable: disable darwinSupport by default
Using gtk + darwin support seems broken at the moment, we probably want
guiSupport = "carbon" instead but that doesn't work and something like
macvim is probably better for that.  This fixes the build while keeping
guiSupport enabled which might be desirable for eg. +clientserver.

Fixes #45025
2018-08-19 21:52:51 +02:00
Daiderd Jordan
8a6064a526
vim_configurable: make gtk optional
Using vim_configurable.override { guiSupport = "no"; } would still pull
in gtk2 as a dependency.
2018-08-19 21:41:15 +02:00
Daiderd Jordan
a50807e1b8
vim_configurable: fix lua reference 2018-08-19 21:39:10 +02:00
Michael Raskin
40dea2488f vim_configurable: make gvim command launch GUI again 2018-08-11 10:25:21 +03:00
8573
6b486cf947 vim_configurable: Add wrapGAppsHook for GTK 3 (#44645)
As suggested by @jtojnar in GitHub issue #44580, this patch adds the
package `wrapGAppsHook` to the dependencies (specifically, the
`nativeBuildInputs`) of `vim_configurable`, when `vim_configurable` is
built against GTK 3.

This change prevents GVim from crashing if one tries to use its
file-choosing dialog, and fixes a warning that otherwise might be
emitted if one tries to use its find/replace dialog.
2018-08-09 11:11:24 +02:00
Uli Baum
9f96ec8b03 vimNox: drop
not updated since 2012, see #40876
2018-08-06 21:36:00 +02:00
Daiderd Jordan
5b211b6f4c
vim-configurable: fix python support
Removed --enable-python since that doesn't seem to do anything.
2018-07-28 11:30:46 +02:00
Frederik Rietdijk
ea91420675
Merge pull request #43886 from FRidh/vim
qvim, vim_configurable: get rid of composableDerivation
2018-07-26 11:42:40 +02:00
Frederik Rietdijk
9cb1e7a1f3 qvim: get rid of composableDerivation
Use `stdenv.mkDerivation` directly instead of `composableDerivation`.

Some configure flags may have changed as the conversion wasn't exactly
straightforward.
2018-07-21 16:52:30 +02:00
Frederik Rietdijk
539f4f644a vim_configurable: get rid of composableDerivation
Use `stdenv.mkDerivation` directly instead of `composableDerivation`.

Some configure flags may have changed as the conversion wasn't exactly
straightforward.
2018-07-21 13:48:19 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Will Dietz
0b7d6bb04f vim: v8.1.0001 -> v8.1.0146 2018-07-03 19:31:05 -05:00
Maximilian Bosch
f43446c9ca
vim_configurable: restore ability to override python for modules
It seems as Python will be fetched from $PATH in Vim 8.1:

```
stat("/home/ma27/bin/python", 0x7ffe57a317b0) = -1 ENOENT (No such file or directory)
stat("/run/wrappers/bin/python", 0x7ffe57a317b0) = -1 ENOENT (No such file or directory)
stat("/home/ma27/.nix-profile/bin/python", 0x7ffe57a317b0) = -1 ENOENT (No such file or directory)
stat("/nix/var/nix/profiles/default/bin/python", 0x7ffe57a317b0) = -1 ENOENT (No such file or directory)
stat("/run/current-system/sw/bin/python", {st_mode=S_IFREG|0555, st_size=291, ...}) = 0
readlink("/run/current-system/sw/bin/python", "/nix/store/ggjkqbvwnv7dflkmdgmmp"..., 4096) = 72
```

This breaks in cases where you want to use a modified Python derivation
for the VIM plugins you use in `vim_configurable`:

```
let
  vim_configurable' = vim_configurable.override {
    # python with modules for ensime
    python = python.withPackages (ps: with ps; [ sexpdata websocket_client ]);
  };
in
  vim_configurable'.customize {
    # ...
  }
```

With VIM 8.0 this worked perfectly fine, now it's necessary to install
the modified `python` in $PATH to actually use it, otherwise an error
like this arises:

```
[ensime] A dependency is missing, please `pip2 install sexpdata websocket-client` and restart Vim.
Press ENTER or type command to continue
```

However it should be possible to pass the modified Python to the
modules, the easiest workaround is to write a wrapper which prefixes
$PATH to have the Python derivation available.
2018-05-30 09:16:55 +02:00
Dmitry Kalinkin
c2ed843f38
vim: 8.0.1655 -> 8.1.0001 2018-05-19 00:29:50 -04:00
Daiderd Jordan
1c3d38c69b
vim_configurable: replace default ftNix patch with sources from vim-nix 2018-04-24 22:56:25 +02:00
Bryan Richter
16bfd5a2be
vim: Set softtabstop in nix filetype plugin 2018-04-20 11:46:40 -04:00
Bryan Richter
94fd34a31b
vim: idiomatic nix filetype plugin
* Never modify tabstop. This causes incompatibilities with other
  utilities that expect tabs to always be 8 spaces.
* Add standard boilerplate for system-level filetype plugins.
2018-04-20 10:39:58 -04:00
R. RyanTM
5b8455c338 vim: 8.0.1605 -> 8.0.1655
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/vim/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/j6w96w36f0naab7fffqri1cmspaa3mnb-vim-8.0.1655/bin/vim -h` got 0 exit code
- ran `/nix/store/j6w96w36f0naab7fffqri1cmspaa3mnb-vim-8.0.1655/bin/vim --help` got 0 exit code
- ran `/nix/store/j6w96w36f0naab7fffqri1cmspaa3mnb-vim-8.0.1655/bin/vim --version` and found version 8.0.1655
- found 8.0.1655 with grep in /nix/store/j6w96w36f0naab7fffqri1cmspaa3mnb-vim-8.0.1655
- directory tree listing: https://gist.github.com/b65f9cb4045c205c8c3ee68503c42596
2018-03-30 20:06:39 +01:00
Ryan Mulligan
a998162d7f vim: 8.0.1451 -> 8.0.1605
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/5afa788kqasx65plvzwjnffq9ihzdbmn-vim-8.0.1605/bin/vim -h` got 0 exit code
- ran `/nix/store/5afa788kqasx65plvzwjnffq9ihzdbmn-vim-8.0.1605/bin/vim --help` got 0 exit code
- ran `/nix/store/5afa788kqasx65plvzwjnffq9ihzdbmn-vim-8.0.1605/bin/vim --version` and found version 8.0.1605
- found 8.0.1605 with grep in /nix/store/5afa788kqasx65plvzwjnffq9ihzdbmn-vim-8.0.1605
- directory tree listing: https://gist.github.com/f9af564ba8cc53b90d1d262c2e786eee
2018-03-17 05:38:34 -07:00
zimbatm
e8194c2c5b
ruby: remove unsupported versions (#34927)
* remove EOL ruby versions for security and maintenance reasons.
* only expose ruby_MAJOR_MINOR to the top-level. we don't provide
guarantees for the TINY version.
* mark all related packages as broken
* switch the default ruby version from 2.3.x to 2.4.x
2018-02-14 09:53:54 +00:00
Will Dietz
28f7f0794e vim: 8.0.1428 -> 8.0.1451
Changes:
https://github.com/vim/vim/compare/v8.0.1428...v8.0.1451
2018-02-01 07:20:07 -06:00
Daiderd Jordan
92bf8c66ba
Merge pull request #34149 from dtzWill/update/vim-8.0.1428
vim: 8.0.1257 -> 8.0.1428
2018-01-22 20:04:01 +01:00
Will Dietz
f851457368 vim: fix for cross, add missing configure test override
This is one of the variables mentioned to set
when cross-compiling:

https://github.com/vim/vim/blob/master/src/INSTALLx.txt
2018-01-22 12:48:00 -06:00
Will Dietz
360b86e515 vim: 8.0.1257 -> 8.0.1428 2018-01-22 11:12:43 -06:00
Tuomas Tynkkynen
78eaae0204 vim: 8.0.1245 -> 8.0.1257 2017-11-03 21:25:41 +02:00
aszlig
74260a4922
vim: 8.0.1150 -> 8.0.1245
This update contains a lot of fixes that are too much to be summarized
here, so here is the upstream changelog (basically "git log"):

https://github.com/vim/vim/commits/v8.0.1250

The main reason for this bump is that I got annoyed by a bug that was
fixed in upstream version 8.0.1194, which caused a race condition during
vim startup when it's trying to retrieve background colors from the
terminal.

Sometimes it could happen that random commands are executed at Vim
startup (typically pasting the "" buffer) and after bisecting I've found
out that version 8.0.1194 indeed fixed this problem.

The reason why I'm updating to version 8.0.1250 is that when looking
through the Git log it contains a whole lot of fixes but no new
features, so I'd assume it's safe to upgrade.

I've tested all packages that depend on Vim and they still succeed
building. In addition to that I've used the new version for a couple of
hours without any issue.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @lovek323, @LnL7, @vaibhavsagar
2017-11-03 15:19:06 +01:00
John Ericson
f037625f87 Merge remote-tracking branch 'upstream/staging' into deps-reorg 2017-09-28 12:32:57 -04:00
Vaibhav Sagar
6498ac609a vim: 8.0.0442 -> 8.0.1150 2017-09-26 22:48:09 +08:00
John Ericson
ed14223f8c treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
John Ericson
100db4fa3b vim: Properly categorize pkgconfig dependency 2017-09-20 00:58:55 -04:00
davidak
3270aa896b replace "Mac OS X" and "OS X" with "macOS"
as it is the official name since 2016

https://en.wikipedia.org/wiki/Macintosh_operating_systems#Desktop

exception are parts refering to older versions of macOS like

"GUI support for Mac OS X 10.6 - 10.12. Note that Emacs 23 and later [...]"
2017-08-07 21:41:30 +02:00
Bjørn Forsman
1639429359 vim_configurable: add ".../after" plugin dirs to runtimepath
This fixes using e.g. CSApprox when installed with nix.
2017-07-29 14:34:13 +02:00
John Ericson
aac32fe2d1 vim: cc-wrapper can be relied on to export this env var 2017-06-28 18:31:37 -04:00
John Ericson
8b22e497f2 vim: Modernize derivation, hopefully fixing cross 2017-06-22 17:53:53 -04:00
Tim Shaffer
e973c75d65 vim: update URL for vimrc
Previous URL was returning a 404. Adjusting the query parameters fixes
things.
2017-06-13 13:31:17 -04:00
Franz Pletz
12f3006861
vim: 8.0.0329 -> 8.0.0442 2017-03-11 08:14:28 +01:00
Michael Raskin
8eccd34f10 vim_configurable: enable ximSupport by default 2017-03-03 21:20:19 +01:00
Daiderd Jordan
d2d12c2f4c
vim: 8.0.0075 -> 8.0.0329 2017-02-15 21:00:59 +01:00
Benjamin Staffin
24716fe954 vim: Create xdg apps/icons dirs so .desktop items get installed
In theory this ought to make gvim show up in the kde/gnome/xfce
application menus.
2017-02-04 21:29:59 -05:00
Benjamin Staffin
3dd2a271ef vim: make it possible to build with --enable-gui=gtk3
This doesn't change any defaults; I suspect that dropping gtk2 support
would annoy some people so I didn't want to do that without asking
around first.
2017-01-31 02:17:11 -05:00
Tim Digel
babbe0e14d vim: 8.0.0005 -> 8.0.0075 2016-11-11 10:12:18 +01:00
Vladimír Čunát
996d8ddd99 vim*: fix :Man a bit 2016-11-07 18:55:21 +01:00
Vladimír Čunát
51feecbe88 vim_configurable: misc improvements
- fix wrongly used *native* build inputs;
- remove confusing `prePatch = "cd src";` ;
- adapt RPATH handling to multiple-output changes;
- don't list full compiler flags in vim --version,
  as that would keep references to -dev paths.

Together, the closure of the default feature-set drops almost by 100 MB.
The lean vim attribute would *not* lose any references due to patching
--version, so we only apply it for vim_configurable.
2016-11-07 18:55:21 +01:00
Vladimír Čunát
1667046505 vim: factor common.nix from {default,configurable}.nix
The derivations are unchanged.
2016-11-07 16:38:13 +01:00
Wink Saville
d81a6e6f9c Remove python_framework.patch
In the [discussion](https://github.com/NixOS/nixpkgs/pull/18801) of this pull
request @LnL7 was unable to complete a darwin build because the
python_framework.patch does not apply and suggests it should be removed.
2016-09-23 09:13:23 -07:00
Wink Saville
08d7cfa420 Update vim_configurable to vim 8.0005 2016-09-20 16:56:31 -07:00
Matthias Beyer
ff7f39febb vim: 7.4.1585 -> 8.0.0005 2016-09-16 21:42:38 +02:00
Kirill Boltaev
bccd75094f treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00