You can test each of the attributes in a flake’s outputs’s formatter attribute set by using nix run
:
nix --extra-experimental-features 'nix-command flakes' run '.#formatter.i686-linux' flake.nix
nix --extra-experimental-features 'nix-command flakes' run '.#formatter.x86_64-linux' flake.nix