flake: don't type check builtPackage

This commit is contained in:
raf 2024-04-14 16:51:20 +03:00
commit ebac4c87f4
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
3 changed files with 12 additions and 4 deletions

View file

@ -8,7 +8,7 @@ packages: inputs: {
inherit (lib) maintainers;
inherit (lib.modules) mkIf;
inherit (lib.options) mkOption mkEnableOption literalExpression;
inherit (lib.types) attrsOf anything package;
inherit (lib.types) attrsOf anything;
cfg = config.programs.neovim-flake;
inherit (import ../../configuration.nix inputs) neovimConfiguration;
@ -24,7 +24,7 @@ in {
enable = mkEnableOption "neovim-flake, the extensible neovim-wrapper";
builtPackage = mkOption {
type = package;
type = anything;
default = builtPackage;
internal = true;
description = ''

View file

@ -8,7 +8,7 @@ packages: inputs: {
inherit (lib) maintainers;
inherit (lib.modules) mkIf;
inherit (lib.options) mkOption mkEnableOption literalExpression;
inherit (lib.types) attrsOf package anything;
inherit (lib.types) attrsOf anything;
cfg = config.programs.neovim-flake;
inherit (import ../../configuration.nix inputs) neovimConfiguration;
@ -24,7 +24,7 @@ in {
enable = mkEnableOption "neovim-flake, the extensible neovim-wrapper";
builtPackage = mkOption {
type = package;
type = anything;
default = builtPackage;
internal = true;
description = ''