mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
docs: Use a nixpkgs patch instead of copy/pasting nixpkgs functions (#1011)
This makes the code more maintainable, as it only depends on our small patch, instead of a large number of internals of nixpkgs.
This commit is contained in:
parent
2294a12b0b
commit
507ff5b142
7 changed files with 97 additions and 251 deletions
|
@ -60,7 +60,9 @@ in {
|
|||
])
|
||||
"Post-install hook";
|
||||
|
||||
requires = helpers.mkNullOrOption (either str listOfPlugins) "Plugin dependencies";
|
||||
requires =
|
||||
helpers.mkNullOrOption (helpers.nixvimTypes.eitherRecursive str listOfPlugins)
|
||||
"Plugin dependencies";
|
||||
|
||||
rocks =
|
||||
helpers.mkNullOrOption (either str (listOf (either str attrs)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue