[Nix-dev] How to configure neovim?

Arseniy Seroka ars.seroka at gmail.com
Wed Oct 14 21:17:17 CEST 2015


You need to create such function. Take a look at [1].

[1]
https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/vim-plugins/vim-utils.nix#L281

2015-10-14 21:40 GMT+03:00 Matthias Beyer <mail at beyermatthias.de>:

> 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
>
>


-- 
Sincerely,
Arseniy Seroka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20151014/b47f6016/attachment-0001.html 


More information about the nix-dev mailing list