mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
modules/dependencies: add go
This commit is contained in:
parent
090c4e0f7c
commit
7e6038a69a
3 changed files with 18 additions and 8 deletions
|
@ -129,7 +129,10 @@ rec {
|
|||
packageName,
|
||||
oldPackageName ? packageName,
|
||||
}:
|
||||
lib.mkRemovedOptionModule [ "plugins" plugin "${oldPackageName}Package" ] ''
|
||||
let
|
||||
optionPath = [ "plugins" ] ++ (lib.toList plugin) ++ [ "${oldPackageName}Package" ];
|
||||
in
|
||||
lib.mkRemovedOptionModule optionPath ''
|
||||
Please use the `dependencies.${packageName}` top-level option instead:
|
||||
- `dependencies.${packageName}.enable = false` to disable installing `${packageName}`
|
||||
- `dependencies.${packageName}.package` to choose which package to install for `${packageName}`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue