mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
nix flake check: Allow modules attribute
This is intended as a module system "library" in the format <flake>.modules.<class>.<name> where class is e.g. "nixos" or "homeManager", and the name is of the author's choice. Modules that can be loaded in any module system application should use the name "generic". - Implemented in the module system in https://github.com/NixOS/nixpkgs/pull/197547 - Class parameter for checking: https://nixos.org/manual/nixpkgs/stable/index.html#module-system-lib-evalModules-param-class
This commit is contained in:
parent
9d34815cb6
commit
cbdeb079d1
1 changed files with 1 additions and 0 deletions
|
@ -773,6 +773,7 @@ struct CmdFlakeCheck : FlakeCommand
|
||||||
|| name == "homeConfigurations"
|
|| name == "homeConfigurations"
|
||||||
|| name == "homeModule"
|
|| name == "homeModule"
|
||||||
|| name == "homeModules"
|
|| name == "homeModules"
|
||||||
|
|| name == "modules"
|
||||||
|| name == "nixopsConfigurations"
|
|| name == "nixopsConfigurations"
|
||||||
)
|
)
|
||||||
// Known but unchecked community attribute
|
// Known but unchecked community attribute
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue