treewide: move missing modules from 'with lib' to 'inherit (lib) ...'

This commit is contained in:
Frothy 2023-11-07 19:16:46 -07:00
commit 7518c31ca8
43 changed files with 146 additions and 146 deletions

View file

@ -3,9 +3,9 @@
config,
lib,
...
}:
with lib;
with builtins; let
}: let
inherit (lib) isList nvim getExe mkEnableOption mkOption types mkMerge mkIf;
cfg = config.vim.languages.go;
defaultServer = "gopls";
@ -80,7 +80,7 @@ in {
server = mkOption {
description = "Go LSP server to use";
type = with types; enum (attrNames servers);
type = with types; enum (builtins.attrNames servers);
default = defaultServer;
};
@ -100,7 +100,7 @@ in {
};
debugger = mkOption {
description = "Go debugger to use";
type = with types; enum (attrNames debuggers);
type = with types; enum (builtins.attrNames debuggers);
default = defaultDebugger;
};
package = mkOption {