revert statix fixes for empty_pattern

empty_pattern forces {...} to be converted to {_}, which breaks
situations where an import is done multiple ways with the same
attributes, and only some of the imported files use those
attributes (ex. systems/<host>/default.nix)

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2024-05-20 00:07:52 -04:00
committed by Richie Cahill
parent 1b65b78d13
commit c0ca89728e
7 changed files with 12 additions and 5 deletions

4
statix.toml Normal file
View File

@ -0,0 +1,4 @@
disabled = ["empty_pattern"]
nix_version = '2.4'
ignore = ['.direnv']