Flakes require that their overlays arguments are named final and prev, despite if they are used or not.
Having them named differently (even _, _final or _prev) makes nix flake check fail.
Even though I already filed NixOS/nix#4416, I think the following proposal could help mitigate the flake issue as well as #41:
Give control over checks to comments in source code. Similar to python linters allow for magic comments, or how elixirs credo does as well and probably a lot of other linters do.
Flakes require that their overlays arguments are named
final
andprev
, despite if they are used or not.Having them named differently (even
_
,_final
or_prev
) makesnix flake check
fail.Even though I already filed NixOS/nix#4416, I think the following proposal could help mitigate the flake issue as well as #41:
Give control over checks to comments in source code. Similar to python linters allow for magic comments, or how elixirs credo does as well and probably a lot of other linters do.