[Nix-dev] How to configure neovim?

Matthias Beyer mail at beyermatthias.de
Wed Oct 14 20:40:15 CEST 2015


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20151014/d798e718/attachment.bin 


More information about the nix-dev mailing list