{ pkgs, }: pkgs.runCommandNoCC "check-format" { buildInputs = with pkgs; [ fd shellcheck nixpkgs-fmt nodePackages.prettier shfmt taplo treefmt ]; } '' treefmt \ --allow-missing-formatter \ --fail-on-change \ --no-cache \ --formatters prettier \ --formatters nix \ --formatters shell \ --formatters toml \ -C ${./..} # it worked! touch $out ''