I didn't check, but there is a chance that path is also hardcoded in (some) formulae, so even building from the source might not help here.
so doing `brew install` inside a container with the proper volumes it’s not sufficient to fix the issue. Everything would have to run from within the container as well.
I didn't check, but there is a chance that path is also hardcoded in (some) formulae, so even building from the source might not help here.