class Wxmac < Formula
desc "Cross-platform C++ GUI toolkit (wxWidgets for macOS)"
homepage "https://www.wxwidgets.org"
url "https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.4/wxWidgets-3.1.4.tar.bz2"
sha256 "3ca3a19a14b407d0cdda507a7930c2e84ae1c8e74f946e0144d2fa7d881f1a94"
# etc. etc.
end
but got the error
Error: Failed to download resource "wxmac"
Download failed: https://homebrew.bintray.com/bottles/wxmac-3.1.4_1.big_sur.bottle.tar.gz
I fixed it by forcing brew to install from source: brew install -s wxmac.
I guess this is the same problem @georgesboris solved by removing the bottle do block.
Why? Installing Elixir and Erlang from Homebrew isn’t the best approach out there.
Because the current approach for my team is to use brew for this. i do not like to add another tool just to install elixir/erlang/nodejs. Beyond that I the homebrew approach worked great for us so far (until the problem at hand occurred)
Afaik erlang needs a version of wxwidgets with compatibility layer for an older API. Homebrews bottle recipe might not have the needed flag to enable this.
I’m new to HomeBrew and Elixir/Erlang and after carefully following the steps shared here I (astonishingly) got my :observer.start to work in darkmode. Thanks everyone!