Open Atry opened 8 months ago
Yes, that's the plan.
Just haven't executed on it yet.
For a modules
output, that should probably be in a separately imported module until nix flake check
ignores that attribute. We're trying to move it away from such hardcoded logic in Nix, so it's highly unlikely that it will be checked within the current architecture, and that's ok. Maybe the default flake schema could do it, although I have some issues with that feature's design as currently implemented in a PR.
In https://github.com/NixOS/nixpkgs/pull/197547
Since https://github.com/NixOS/nixpkgs/pull/197547 is merged, do we want to introduce a module to set
_file
and_class
for modules definedflake.modules.${className}.${moduleName}
?