mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
Merge pull request #6865 from KaiSforza/kaictl
vim: Add python3 support to vim_configurable
This commit is contained in:
commit
fd50312808
@ -102,6 +102,19 @@ composableDerivation {
|
||||
};
|
||||
}
|
||||
|
||||
// edf {
|
||||
name = "python3";
|
||||
feat = "python3interp";
|
||||
enable = {
|
||||
nativeBuildInputs = [ pkgs.python3 ];
|
||||
} // lib.optionalAttrs stdenv.isDarwin {
|
||||
configureFlags
|
||||
= [ "--enable-python3interp=yes"
|
||||
"--with-python3-config-dir=${pkgs.python3}/lib"
|
||||
"--disable-pythoninterp" ];
|
||||
};
|
||||
}
|
||||
|
||||
// edf { name = "tcl"; enable = { nativeBuildInputs = [tcl]; }; } #Include Tcl interpreter.
|
||||
// edf { name = "ruby"; feat = "rubyinterp"; enable = { nativeBuildInputs = [ruby]; };} #Include Ruby interpreter.
|
||||
// edf {
|
||||
@ -131,6 +144,7 @@ composableDerivation {
|
||||
cfg = {
|
||||
luaSupport = config.vim.lua or true;
|
||||
pythonSupport = config.vim.python or true;
|
||||
python3Support = config.vim.python3 or false;
|
||||
rubySupport = config.vim.ruby or true;
|
||||
nlsSupport = config.vim.nls or false;
|
||||
tclSupport = config.vim.tcl or false;
|
||||
|
Loading…
Reference in New Issue
Block a user