I’m trying to install the nvim-treesitter plugin with home manger on nixos unstable with the nightly version of neovim like this:
programs.neovim = {
enable = true;
package = pkgs.neovim-nightly;
plugins = with pkgs.vimPlugins; [
(nvim-treesitter.withPlugins (plugins: with plugins; [
tree-sitter-nix
]))
];
However when I run nixos-rebuild switch --flake ‘.#’ I get this error:
error: builder for '/nix/store/70wxdnwkc3pzr917yj79cj2gwapxch9a-neovim-master.drv' failed with exit code 1;
last 9 log lines:
> Generating remote plugin manifest
> Error detected while processing /nix/store/ps86v15lwi7r5lx4l7d0pc6gvy0zrck5-vimplugin-nvim-treesitter-2022-08-21/plugin/nvim-treesitter.lua:
> E5113: Error while calling lua chunk: .../start/nvim-treesitter/lua/nvim-treesitter/highlight.lua:14: attempt to index local 'hlmap' (a nil value)
> stack traceback:
> .../start/nvim-treesitter/lua/nvim-treesitter/highlight.lua:14: in main chunk
> [C]: in function 'require'
> ...in-nvim-treesitter-2022-08-21/plugin/nvim-treesitter.lua:12: in main chunk
> remote/host: generated rplugin manifest: /nix/store/4sz4176bwapq1dpng4q4qf98rnm0p6av-neovim-master/rplugin.vim
> Generating rplugin.vim failed!
For full logs, run 'nix log /nix/store/70wxdnwkc3pzr917yj79cj2gwapxch9a-neovim-master.drv'.
error: 1 dependencies of derivation '/nix/store/zipsbs21phhl3x5gipdypjky8xm85var-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/d5qc6kmf7gxw4pfqjs1vzm6j60nd7fd3-home-manager-generation.drv' failed to build
error: 1 dependencies of derivation '/nix/store/fxxb58yyxzlqs5jfy9vindxxvjcykl00-user-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rlvpxm6g3b8hkq3d6ynlp0g3b5agwci5-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/9zd9hia3jkaa15q7b64gywqzz2x0l7rq-nixos-system-Entertainer-22.11.20220828.a63021a.drv' failed to build
Is this a problem with the package itself?