Never had flies on my mint. I have a bunch of different types of mint in pots, they are flowering now, no flies. It does seem odd, can you get a photo?
Best I can find says that the flies are attracted to the sweet smelling nectar from the flowers. It's odd I haven't had any problems with flies around my mints.