Commit Graph

78 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
15ebfa7be7 vim: Harden build against ex and other tools being missing
Those tools are often used as build-time dependency. Some deficiencies
in the upstream makefiles makes it possible that they will not be
installed, even though the `make install` call was successful.

This *could* make the `vim` build fail where it wouldn't have failed
previously, but it will now fail in a correct manner instead of being
incorrectly successful.

The previous patch (actually using -j1 in install phase) should make
this change redundant, but let's not pretend new bugs are never going to
happen!
2023-04-23 13:34:05 -04:00
Samuel Dionne-Riel
cf122f34dd vim: Actually disable parallelism in install 2023-04-22 15:50:23 -04:00
Artturin
2467849361 vim: 9.0.0057 -> 9.0.0115
includes cross fix

509695c1c3
2022-07-31 12:07:41 +00:00
Ben Wolsieffer
cac4d6469f vim: fix shebangs when cross-compiling
vim does its own shebang patching, which ends up pulling in build platform
tools. This commit patches the build system to use HOST_PATH instead.

I also enabled strictDeps and added additional dependencies needed to make
patchShebangs work on some of the other scripts.

This commit brings the cross-compiled package in line with the native one, but
even the native build has some unpatched shebang references to python, perl and
csh. Additionally, efm_perl.pl has a broken shebang (#! -w) because vim's
build system can't handle not finding perl.
2022-06-20 14:52:09 -04: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
Sandro Jäckel
388a4ef423
treewide: convert all links git.archlinux.org to github.com/archlinux/svntogit-* 2021-07-14 03:35:21 +02: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
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00: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
Daiderd Jordan
b0e201f349
vim: remove cf-private 2019-07-03 22:20:21 +02: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
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
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
John Ericson
100db4fa3b vim: Properly categorize pkgconfig dependency 2017-09-20 00:58:55 -04: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
Vladimír Čunát
996d8ddd99 vim*: fix :Man a bit 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
Matthias Beyer
ff7f39febb vim: 7.4.1585 -> 8.0.0005 2016-09-16 21:42:38 +02:00
Robin Gloster
f60c9df0ba Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-03-28 15:16:29 +00:00
Arseniy Seroka
4d82228a63 vim: 7.4.827 -> 7.4.1585 2016-03-19 00:21:27 +03:00
Franz Pletz
0cad2e7af1 vim: Disable hardening flag fortify
Fortify hardening detects a probable buffer overflow in vim at runtime. This
has to be fixed upstream.

Debian also disables fortify:

  https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/rules#n6
2016-03-05 21:45:04 +01:00
zimbatm
89f0e25189 vim: provide a default vimrc
Minimal sane defaults imported from ArchLinux.

This is basically `set :nocompatible` with some other small changes.
2016-02-26 21:58:21 +00:00
Jude Taylor
d539d9c935 revert to __impureHostDeps where possible 2015-11-25 10:09:35 -08:00
Jude Taylor
69e7f3bb74 switch to zero underscores for sandbox profiles; remove generateFrameworkProfile 2015-11-21 12:10:33 -08:00
Jude Taylor
a63346e33c use single underscore for sandboxProfile 2015-11-21 11:17:30 -08:00
Jude Taylor
df80090d09 use per-derivation sandbox profiles 2015-11-19 11:31:06 -08:00
Jude Taylor
de0182ee59 vim: clean up arguments list 2015-10-28 13:40:10 -07:00
Jude Taylor
2e29399993 update packages with new cf-private compatibility 2015-10-26 17:13:29 -07:00
Jude Taylor
7283bb7466 introduce separate cf-private package to account for no CLT 2015-10-06 00:11:10 -07:00
William A. Kennington III
8255ac0d68 vim: 7.4.826 -> 7.4.827
Fix the version string to match the new versioning scheme after the
github migration.
2015-08-20 15:57:28 -07:00
William A. Kennington III
d438d0e98b vim: 7.4.683 -> 7.4.826
Also, since googlecode is shutting down in <1 month move this to the new
github tree. This removes the dependence on mercurial.
2015-08-14 14:06:58 -07:00
Jude Taylor
976d80eb57 map apple sdk frameworks CF to darwin.CF to avoid confusion 2015-07-08 14:15:04 -07:00
Jude Taylor
857efa12fb make vim frameworks-compliant 2015-06-30 17:34:13 -07:00
Jude Taylor
363d1bf07a darwin purity: vim 2015-06-26 09:54:44 -07:00
Tobias Geerinckx-Rice
158e1cfdd0 Don't use "with licenses;" for single licences
And don't use square brackets on such lines.
2015-05-28 19:20:29 +02:00
Tobias Geerinckx-Rice
b84588cbde vim (all builds): add licence information 2015-05-27 01:22:43 +02:00
William A. Kennington III
b91e83dc77 vim: 7.4.410 -> 7.4.683 2015-03-26 14:33:35 -07:00
Joel Taylor
3e8344d334 suitable clang stdenv 2014-09-09 13:54:24 -07:00
Paul Colomiets
e376e9731d vim: Update vim to 7.4.335 2014-07-15 14:59:16 +02:00
Benno Fünfstück
e10001042d fetchbzr, fetchdarcs, fetchhg: use rev attr
This makes it match the behaviour of fetchgit and fetchsvn, so it's
easier to write scripts that support all of them.
2014-06-28 21:06:10 +02:00
Charles Strahan
0ec25c6f94 update vim to v7.4.316 2014-06-01 21:09:55 -04:00
Ricardo M. Correia
2537b7c679 vim: add config option to generate vimrc 2014-02-20 14:08:42 +01:00
William A. Kennington III
a2ff906257 vim: Update from 7.4.23 -> 7.4.131
Instead of applying all of the patches, this build pulls an archive from
the source code repo with all of the patches already applied. This is the
preferred way from http://www.vim.org/sources.php
2013-12-29 07:51:58 -06:00
Jason \"Don\" O'Conal
2eb384b982 vim_configurable: add patches to 7.4.23 (close #912) 2013-09-18 21:59:49 +02:00
Lluís Batlle i Rossell
09e831e292 Updating vim and vim_configurable to 7.4.
I change vim_configurable from 'latest' to 'default', as 'default' now is more
recent than latest.
2013-08-13 17:47:27 +02:00
Jason "Don" O'Conal
1d7d0addcc vim-plugins: add expression command-t
* also fix build of vim on darwin
2013-07-14 11:24:45 +10:00