I'm looking for an idiom (if there is one) which captures the following meaning: trying to do two things with the same tool will never work, since every task requires its own tool.
It is similar to "if the only tool you have is a hammer, to treat everything as if it were a nail", but this has the emphasis of over-reliance on one tool. Rather, I'm looking for something that expresses the futility of trying to find a single solution for two different problems.