Add class: imports "type checking"
Initially this had some feature checking with lib.functionArgs, but I don't think this is useful. The _class attribute is not supported by long-unsupported Nixpkgs (<23.05) anyway, so let's keep it simple.
This commit is contained in:
parent
e5d10a24b6
commit
411e5ab0e8
3 changed files with 3 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ let
|
|||
_file = "${toString moduleLocation}#flakeModules.${k}";
|
||||
key = "${toString moduleLocation}#flakeModules.${k}";
|
||||
imports = [ v ];
|
||||
_class = "flake";
|
||||
});
|
||||
description = ''
|
||||
flake-parts modules for use by other flakes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue