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:
Robert Hensing 2023-05-08 22:49:12 +02:00
parent e5d10a24b6
commit 411e5ab0e8
3 changed files with 3 additions and 0 deletions

View file

@ -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.