mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
lib/*-plugin: use lib.mkPackageOption
internally
Instead of maintainers providing an actual `defaultPackage`, they should specify the pkg name which we'll use when calling `lib.mkPackageOption`. This makes `mkVimPlugin` and `mkNeovimPlugin` compliant with #1950.
This commit is contained in:
parent
c8bb7880bf
commit
285f6cbd7b
6 changed files with 150 additions and 109 deletions
|
@ -29,6 +29,8 @@ The [nixpkgs manual](https://nixos.org/manual/nixpkgs/stable/#managing-plugins-w
|
|||
|
||||
When using NixVim it is possible to encounter an error of the type `attribute 'name' missing`, for example it could look like:
|
||||
|
||||
<!-- TODO: Update example now that we use `mkPackageOption` -->
|
||||
|
||||
```
|
||||
(stack trace truncated; use '--show-trace' to show the full trace)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue