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 <[email protected]>: > 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 > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev > > -- Sincerely, Arseniy Seroka
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
