diff --git a/fmt b/fmt index 8479bed..3296d3f 100755 --- a/fmt +++ b/fmt @@ -1,6 +1,4 @@ #!/bin/sh -for i in $(find . -name \*.nix ); do - nix fmt $i -done +find . -name \*.nix -exec nix fmt {} \+ statix check .