{ writeShellApplication, nixfmt-rfc-style, deadnix, statix, }: writeShellApplication { name = "linter"; runtimeInputs = [ nixfmt-rfc-style deadnix statix ]; text = '' nixfiles="$(find . -iname "*.nix")" eval "$(awk '{printf "nixfmt %s; deadnix -e %s; statix fix %s\n", $0, $0, $0}' <<< "$nixfiles")" ''; }