The user below conducted a test on what antifungals killed bacteria in yogurt. It's not a good comparison to the bacteria in your gut, since the antifungal goes through a number of things before reaching your gut, but the Nystatin only slightly reduced the number of bacteria in the yogurt. Therefore, I think it has a little to no affect on the bacteria in your gut.