What is the ruling for one who works in places where wine and prohibited commodities are sold, along with merchandise that is permissible?

If he does not sell the prohibited commodities, then it is not prohibited for him [to work there].