UPDATE 2022-Feb-25: Apologies, I forgot that Homebrew hardcodes a "master" branch for homebrew/core
, so I've had to rename the original main
branch accordingly. If you installed my tap before the mentioned date, please repeat the installation steps below to reinstall my tap.
This repo mirrors the main Homebrew core repo as much as possible, only making concessions to stuff that can no longer be built under Mojave. I'll provide bottles to the best of my ability, as they're expired from the main Homebrew core repo.
From a working Homebrew installation, you first need to change the GitHub remote for the core repo:
# Stop `brew` from complaining about the unusual repo URL
export HOMEBREW_CORE_GIT_REMOTE=https://github.com/gromgit/homebrew-core-mojave
rm -fr $(brew --repo homebrew/core)
brew tap homebrew/core https://github.com/gromgit/homebrew-core-mojave
Then just brew install <formula>
as usual.
You should also add export HOMEBREW_CORE_GIT_REMOTE=https://github.com/gromgit/homebrew-core-mojave
to your shell's startup file, otherwise brew doctor
will warn you:
Warning: Suspicious https://github.com/Homebrew/homebrew-core git origin remote found.
Any or all of the following:
- I don't have a Github-scale infrastructure to build Mojave bottles, and since there are easily a few dozen new Homebrew releases each day, it may take a while for me to catch up.
- The latest XYZ may not be available on Mojave--this will be noted in the Caveats section of
brew info XYZ
. For instance,swift
is permanently stuck at v5.2.5, because later versions require a newer version of Xcode that's not available for Mojave.
If you find any problems, please open an issue here. Do NOT file an issue in the main Homebrew core repo, they have nothing to do with this.
unset HOMEBREW_CORE_GIT_REMOTE
rm -fr $(brew --repo homebrew/core)
brew tap homebrew/core