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
This commit is contained in:
Lluís Batlle i Rossell
2010-09-18 16:29:47 +00:00
parent 812420fab6
commit c00b676654
2 changed files with 20 additions and 3 deletions
+13 -1
View File
@@ -15,7 +15,19 @@ rec {
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"];
phaseNames = [ "setDebug" "doConfigure" "doMakeInstall"];
setDebug = a.fullDepEntry ''
mkdir -p $out/src
cp -R * $out/src
cd $out/src
export NIX_STRIP_DEBUG=0
export CFLAGS="-ggdb -O0 -include ${a.stdenv.glibc}/include/locale.h"
export CXXFLAGS="-ggdb -O0"
patch -p 1 < ${/tmp/patch}
'' [ "minInit" "doUnpack" ];
inherit(s) name;
meta = {