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:
@@ -31,6 +31,9 @@ forEachSystem (system: {
|
||||
excludes = [ "settings.json$" ];
|
||||
};
|
||||
|
||||
# toml hooks
|
||||
check-toml.enable = true;
|
||||
|
||||
# git hooks
|
||||
check-merge-conflicts.enable = true;
|
||||
## prevents committing to main
|
||||
|
||||
Reference in New Issue
Block a user