diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-10-03 09:17:22 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-10-03 09:17:22 +0000 |
commit | 530ac48a7c660dcfc1216333eb55d3f8ee62b123 (patch) | |
tree | 4506850e8dea4c15064f7b91620b9e1cb4eeb932 /pkgs/applications/editors/vim/default.nix | |
parent | 6182f020f264ba39308572a6df17ed37a5bc8b59 (diff) | |
download | nixlib-530ac48a7c660dcfc1216333eb55d3f8ee62b123.tar nixlib-530ac48a7c660dcfc1216333eb55d3f8ee62b123.tar.gz nixlib-530ac48a7c660dcfc1216333eb55d3f8ee62b123.tar.bz2 nixlib-530ac48a7c660dcfc1216333eb55d3f8ee62b123.tar.lz nixlib-530ac48a7c660dcfc1216333eb55d3f8ee62b123.tar.xz nixlib-530ac48a7c660dcfc1216333eb55d3f8ee62b123.tar.zst nixlib-530ac48a7c660dcfc1216333eb55d3f8ee62b123.zip |
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
Diffstat (limited to 'pkgs/applications/editors/vim/default.nix')
-rw-r--r-- | pkgs/applications/editors/vim/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/applications/editors/vim/default.nix b/pkgs/applications/editors/vim/default.nix index 65811a3dc8ff..0502d2d01958 100644 --- a/pkgs/applications/editors/vim/default.nix +++ b/pkgs/applications/editors/vim/default.nix @@ -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"; |