mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
flake: don't type check builtPackage
This commit is contained in:
parent
534b837dab
commit
ebac4c87f4
3 changed files with 12 additions and 4 deletions
|
@ -33,6 +33,14 @@
|
||||||
|
|
||||||
default = self.homeManagerModules.neovim-flake;
|
default = self.homeManagerModules.neovim-flake;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nixosModules = {
|
||||||
|
neovim-flake = {
|
||||||
|
imports = [(import ./flake/modules/nixos.nix self.packages inputs)];
|
||||||
|
};
|
||||||
|
|
||||||
|
default = self.nixosModules.neovim-flake;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
perSystem = {
|
perSystem = {
|
||||||
|
|
|
@ -8,7 +8,7 @@ packages: inputs: {
|
||||||
inherit (lib) maintainers;
|
inherit (lib) maintainers;
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
inherit (lib.options) mkOption mkEnableOption literalExpression;
|
inherit (lib.options) mkOption mkEnableOption literalExpression;
|
||||||
inherit (lib.types) attrsOf anything package;
|
inherit (lib.types) attrsOf anything;
|
||||||
|
|
||||||
cfg = config.programs.neovim-flake;
|
cfg = config.programs.neovim-flake;
|
||||||
inherit (import ../../configuration.nix inputs) neovimConfiguration;
|
inherit (import ../../configuration.nix inputs) neovimConfiguration;
|
||||||
|
@ -24,7 +24,7 @@ in {
|
||||||
enable = mkEnableOption "neovim-flake, the extensible neovim-wrapper";
|
enable = mkEnableOption "neovim-flake, the extensible neovim-wrapper";
|
||||||
|
|
||||||
builtPackage = mkOption {
|
builtPackage = mkOption {
|
||||||
type = package;
|
type = anything;
|
||||||
default = builtPackage;
|
default = builtPackage;
|
||||||
internal = true;
|
internal = true;
|
||||||
description = ''
|
description = ''
|
||||||
|
|
|
@ -8,7 +8,7 @@ packages: inputs: {
|
||||||
inherit (lib) maintainers;
|
inherit (lib) maintainers;
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
inherit (lib.options) mkOption mkEnableOption literalExpression;
|
inherit (lib.options) mkOption mkEnableOption literalExpression;
|
||||||
inherit (lib.types) attrsOf package anything;
|
inherit (lib.types) attrsOf anything;
|
||||||
|
|
||||||
cfg = config.programs.neovim-flake;
|
cfg = config.programs.neovim-flake;
|
||||||
inherit (import ../../configuration.nix inputs) neovimConfiguration;
|
inherit (import ../../configuration.nix inputs) neovimConfiguration;
|
||||||
|
@ -24,7 +24,7 @@ in {
|
||||||
enable = mkEnableOption "neovim-flake, the extensible neovim-wrapper";
|
enable = mkEnableOption "neovim-flake, the extensible neovim-wrapper";
|
||||||
|
|
||||||
builtPackage = mkOption {
|
builtPackage = mkOption {
|
||||||
type = package;
|
type = anything;
|
||||||
default = builtPackage;
|
default = builtPackage;
|
||||||
internal = true;
|
internal = true;
|
||||||
description = ''
|
description = ''
|
||||||
|
|
Loading…
Reference in a new issue