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
> [email protected]
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
--
Rok Garbas - http://www.garbas.si
signature.asc
Description: signature
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
