vim_configurable: improvements
* add ruby interpreter (may have been accidentally removed, or may never have existed) * allow selection of GUI options by setting `config.vim.gui`
This commit is contained in:
parent
74d7c12e3a
commit
b7b98f04a2
@ -40,7 +40,8 @@ composableDerivation {
|
|||||||
}.src;
|
}.src;
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = ["--enable-gui=auto" "--with-features=${args.features}"];
|
configureFlags
|
||||||
|
= [ "--enable-gui=${args.gui}" "--with-features=${args.features}" ];
|
||||||
|
|
||||||
nativeBuildInputs
|
nativeBuildInputs
|
||||||
= [ ncurses pkgconfig gtk libX11 libXext libSM libXpm libXt libXaw libXau
|
= [ ncurses pkgconfig gtk libX11 libXext libSM libXpm libXt libXaw libXau
|
||||||
@ -76,6 +77,7 @@ composableDerivation {
|
|||||||
|
|
||||||
cfg = {
|
cfg = {
|
||||||
pythonSupport = config.vim.python or true;
|
pythonSupport = config.vim.python or true;
|
||||||
|
rubySupport = config.vim.ruby or true;
|
||||||
nlsSupport = config.vim.nls or false;
|
nlsSupport = config.vim.nls or false;
|
||||||
tclSupport = config.vim.tcl or false;
|
tclSupport = config.vim.tcl or false;
|
||||||
multibyteSupport = config.vim.multibyte or false;
|
multibyteSupport = config.vim.multibyte or false;
|
||||||
|
@ -8261,6 +8261,7 @@ let
|
|||||||
|
|
||||||
features = "huge"; # one of tiny, small, normal, big or huge
|
features = "huge"; # one of tiny, small, normal, big or huge
|
||||||
lua = pkgs.lua5;
|
lua = pkgs.lua5;
|
||||||
|
gui = config.vim.gui or "auto";
|
||||||
|
|
||||||
# optional features by flags
|
# optional features by flags
|
||||||
flags = [ "python" "X11" ]; # only flag "X11" by now
|
flags = [ "python" "X11" ]; # only flag "X11" by now
|
||||||
|
Loading…
Reference in New Issue
Block a user