mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
docs: Add an FAQ entry for missing attribute (#1122)
This commit is contained in:
parent
ad8aa72490
commit
9a14b26e7c
1 changed files with 21 additions and 0 deletions
|
@ -24,3 +24,24 @@ extraPlugins = [(pkgs.vimUtils.buildVimPlugin {
|
||||||
```
|
```
|
||||||
|
|
||||||
The [nixpkgs manual](https://nixos.org/manual/nixpkgs/stable/#managing-plugins-with-vim-packages) has more information on this.
|
The [nixpkgs manual](https://nixos.org/manual/nixpkgs/stable/#managing-plugins-with-vim-packages) has more information on this.
|
||||||
|
|
||||||
|
## How do I solve `<name>` missing
|
||||||
|
|
||||||
|
When using NixVim it is possible to encounter an error of the type `attribute 'name' missing`, for example it could look like:
|
||||||
|
|
||||||
|
```
|
||||||
|
(stack trace truncated; use '--show-trace' to show the full trace)
|
||||||
|
|
||||||
|
error: attribute 'haskell-scope-highlighting-nvim' missing
|
||||||
|
|
||||||
|
at /nix/store/k897af00nzlz4ylxr5vakzpcvh6m3rnn-source/plugins/languages/haskell-scope-highlighting.nix:12:22:
|
||||||
|
|
||||||
|
11| originalName = "haskell-scope-highlighting.nvim";
|
||||||
|
12| defaultPackage = pkgs.vimPlugins.haskell-scope-highlighting-nvim;
|
||||||
|
| ^
|
||||||
|
13|
|
||||||
|
```
|
||||||
|
|
||||||
|
This usually means one of two things:
|
||||||
|
- The nixpkgs version is not in line with NixVim (for example nixpkgs nixos-23.11 is used with NixVim master)
|
||||||
|
- The nixpkgs unstable version used with NixVim is not recent enough.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue