1 2 3 4 5 6 7 8
{ runCommand , shfmt , ... }: runCommand "check-shfmt" { nativeBuildInputs = [ shfmt ]; } '' shfmt -i 2 -d $(find ${./..} -name '*.sh') touch $out ''