Making the default vim have multibyte+nls support. Checking with 'du', I think

the results take almost the same amount of bytes, while we get support for utf8 terminals.

svn path=/nixpkgs/branches/stdenv-updates/; revision=24031
This commit is contained in:
Lluís Batlle i Rossell
2010-10-03 09:17:22 +00:00
parent 6182f020f2
commit 530ac48a7c
2 changed files with 20 additions and 3 deletions
+7 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, ncurses }:
{ stdenv, fetchurl, ncurses, gettext, pkgconfig }:
stdenv.mkDerivation rec {
name = "vim-7.2";
@@ -8,7 +8,12 @@ stdenv.mkDerivation rec {
sha256 = "11hxkb6r2550c4n13nwr0d8afvh30qjyr5c2hw16zgay43rb0kci";
};
buildInputs = [ ncurses ];
buildInputs = [ ncurses gettext pkgconfig ];
configureFlags = [
"--enable-multibyte"
"--enable-nls"
];
postInstall = "ln -s $out/bin/vim $out/bin/vi";