diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-09-18 16:29:47 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-09-18 16:29:47 +0000 |
commit | c00b6766541d91c3269e690849ab577a50efa617 (patch) | |
tree | 9518b31f437cec0beb939bdf3ff381e6478fdaf2 /pkgs/applications/editors/vim/default.nix | |
parent | 812420fab6f35ba2b2dff9328d074d0c7d3ccb8d (diff) | |
download | nixlib-c00b6766541d91c3269e690849ab577a50efa617.tar nixlib-c00b6766541d91c3269e690849ab577a50efa617.tar.gz nixlib-c00b6766541d91c3269e690849ab577a50efa617.tar.bz2 nixlib-c00b6766541d91c3269e690849ab577a50efa617.tar.lz nixlib-c00b6766541d91c3269e690849ab577a50efa617.tar.xz nixlib-c00b6766541d91c3269e690849ab577a50efa617.tar.zst nixlib-c00b6766541d91c3269e690849ab577a50efa617.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/trunk/; revision=23859
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 6f6a592a02d8..de782e01ee67 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"; |