forked from mirrors/nixpkgs
Make Vim source overridable and add ECL configuration information. Currently Vim with ECL support requires unofficial source package, like the one retrievable from http://repo.or.cz/w/vim_extended.git
svn path=/nixpkgs/trunk/; revision=20200
This commit is contained in:
parent
68164d951e
commit
9df96554ec
|
@ -12,6 +12,7 @@ let
|
|||
["pythonSupport" "python"]
|
||||
["perlSupport" "perl"]
|
||||
["tclSupport" "tcl"]
|
||||
["eclSupport" "ecl" "gmp" "mpfr"]
|
||||
["true" "ncurses"]
|
||||
["false" "libSM"]
|
||||
];
|
||||
|
@ -22,6 +23,7 @@ let
|
|||
"perlSupport" "-perl"
|
||||
"tclSupport" "-tcl"
|
||||
"ximSupport" "-xim"
|
||||
"eclSupport" "-ecl"
|
||||
];
|
||||
configFlags = [
|
||||
"true" " --enable-multibyte "
|
||||
|
@ -31,6 +33,7 @@ let
|
|||
"perlSupport" " --enable-perlinterp "
|
||||
"tclSupport" " --enable-tclinterp "
|
||||
"ximSupport" " --enable-xim "
|
||||
"eclSupport" " --enable-eclinterp "
|
||||
];
|
||||
buildInputsNames = args.lib.filter (x: (null!=getVal x))
|
||||
(args.lib.uniqList {inputList =
|
||||
|
@ -42,10 +45,10 @@ in
|
|||
args.stdenv.mkDerivation {
|
||||
name = args.lib.condConcat "vim-7.2" nameSuffixes check;
|
||||
|
||||
src = args.fetchurl {
|
||||
src = args.lib.attrByPath ["src"] (args.fetchurl {
|
||||
url = ftp://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2;
|
||||
sha256 = "11hxkb6r2550c4n13nwr0d8afvh30qjyr5c2hw16zgay43rb0kci";
|
||||
};
|
||||
}) args;
|
||||
|
||||
inherit (args) ncurses;
|
||||
|
||||
|
|
Loading…
Reference in a new issue