treewide: change modules to use 'inherit (builtins) ...

This commit is contained in:
Frothy 2023-11-14 00:18:32 -07:00
commit 4dc7576176
19 changed files with 59 additions and 42 deletions

View file

@ -4,6 +4,7 @@
lib,
...
}: let
inherit (builtins) attrNames;
inherit (lib) isList nvim mkEnableOption mkOption types mkIf mkMerge optionalString;
cfg = config.vim.languages.nix;
@ -146,7 +147,7 @@ in {
type = mkOption {
description = "Nix formatter to use";
type = with types; enum (builtins.attrNames formats);
type = with types; enum (attrNames formats);
default = defaultFormat;
};
package = mkOption {