Hello everyone,
I am following
[this](https://github.com/kamilchm/.nixpkgs/blob/master/vim-config/default.nix)
template for configuring my custom vim with Nix. My `vim-config/default.nix` is
as follows:
{ pkgs }:
let
my_plugins = import ./plugins.nix { inherit (pkgs) vimUtils
fetchFromGitHub; };
in with (pkgs // { python = pkgs.python3; }); vim_configurable.customize {
name = "vim";
vimrcConfig = {
customRC = ''
syntax on
filetype on
" ...
'';
vam.knownPlugins = vimPlugins // my_plugins;
vam.pluginDictionaries = [
{ names = [
"ctrlp"
# ...
]; }
];
};
}
Although there is a `(pkgs // { python = pkgs.python3; })` override on line 5,
python3 is still not used (when I run `vim --version` it shows `+python
-python3`). Am I missing anything?
Thanks,
Ben
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev