Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider inline switches to activate/deactivate checks for expressions #49

Open
NobbZ opened this issue Jan 1, 2021 · 1 comment
Open

Comments

@NobbZ
Copy link

NobbZ commented Jan 1, 2021

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.

@Synthetica9
Copy link
Owner

Would be nice, but this currently doesn't parse comments so I don't see a way to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants