Commit Graph

218 Commits

Author SHA1 Message Date
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