[Nix-dev] How to configure neovim?

Rok Garbas rok at garbas.si
Thu Oct 15 11:34:19 CEST 2015


the neovim expression already supports this via more general '.override'
function. my example is here: 
    https://github.com/garbas/dotfiles/blob/master/pkgs/default.nix#L83


Quoting Matthias Beyer (2015-10-14 20:40:15)
> Hi,
> 
> the neovim derivation seems to be customizable like the
> vim_configurable expression - but how do I actually do that from my
> configuration.nix?
> 
> I have (a bit stripped):
> 
>     let
>       # [...]
> 
>       custom_vim    = pkgs.vim_configurable.customize {
>         name = "vim";
>         vimrcConfig.customRC = vimrc;
>         vimrcConfig.vam = {
>           knownPlugins = pkgs.vimPlugins // ownPlugins;
> 
>           pluginDictionaries = [
>             { foo bar baz }
>           ];
>         };
>       };
> 
>       vim = lib.overrideDerivation custom_vim (o: {
>         # more things
>       });
> 
>     in [
>       vim
>       pkgs.python
>       pkgs.ctags
>     ]
> 
> as a module of my configuration.nix.
> 
> How can I do the same with neovim? There is no such thing as
> `pkgs.neovim.customize` or something.
> 
> -- 
> Mit freundlichen Grüßen,
> Kind regards,
> Matthias Beyer
> 
> Proudly sent with mutt.
> Happily signed with gnupg.
> 
> 
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


--
Rok Garbas - http://www.garbas.si
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20151015/4b3df5e4/attachment.bin 


More information about the nix-dev mailing list