Oh. My. God. This is so embarrassing.
I didn't install neovim in my user environment, but it was already in
my systemPackages array and the override didn't work because of this.
I found out because your example didn't work, so I just "grep"ed over
my .nix files and found out that there was neovim in two other files
definded... this is really really embarrassing...
Anyways, thanks for your help!
On 03-11-2015 13:25:17, Rok Garbas wrote:
> Quoting Matthias Beyer (2015-11-02 16:25:29)
> > I'm still having no solution here, so I'm sorry to reach out again. I
> > could send you my complete vim/neovim setup, if you want (6 nix files,
> > several .vim files).
> >
>
> Hi Matthias,
>
> Try different approach. Build something small that works and then extend to
> your full blown vim configuration.
>
> Basically this is working
>
> save below as default.nix
>
> { pkgs ? import <nixpkgs> {} }:
> pkgs.neovim.override {
> configure = {
> customRC = ''
> autocmd VimEnter * Calendar
> '';
> vam.pluginDictionaries = [
> { names = [ "calendar-vim" ]; }
> ];
> };
> }
>
>
> then run ``nix-build`` and run nvim with ``./result/bin/nvim``
> that should open you an calendar inside nvim which should be prove enough
> that neovim + custom configuration works.
>
> there are few ways how you can use customized package nixos configuration.
>
> --
> Rok Garbas - http://www.garbas.si
--
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer
Proudly sent with mutt.
Happily signed with gnupg.
signature.asc
Description: PGP signature
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
