I do know from questions like Use specific local gcc and related libraries with Homebrew that this apparently is not one thing straightforward to do, however that specific query appears to have been resolved with “why not simply let brew set up its personal model of the dependency?”
My downside is I am unable to go that route, as a result of brew fails each time it tries to put in its personal model of a dependency (ghc and cabal). Nonetheless I’ve managed to efficiently set up ghc and cabal in one other method they usually work wonderful from the terminal when i exploit their instructions exterior of brew. I even symlinked these instructions into /usr/native/bin, which supposedly is the way you get brew to make use of current instructions, however nonetheless when I attempt to set up something that has ghc as a dependency, it tries to obtain its personal model of it, and fails.
The failure, btw, appears to be as a result of I’m on an outdated model of MacOS. However however i DO have a working model of ghc and cabal that meet the model necessities of the factor I’m making an attempt to put in. Absolutely there have to be a workaround to get homebrew to simply use the friggin current model of the bundle already put in within the terminal, i hope?
OH, and that i additionally tried utilizing –ignore-dependencies however that does not appear to work as a result of one of many dependencies ALSO has ghc as a dependency, so when i attempt to do all of the non-ghc dependencies individually, a few these will not set up both as a result of they attempt to set up ghc and fail.