Why does ghc@8.4 download and install a binary package and rebuild ghc from source?

(Sehrgut) #1

Just unclear on the above, since https://github.com/Homebrew/homebrew-core/blob/master/Formula/ghc.rb downloads binaries, but then seems to unconditionally make and make install the source tarball anyway.

(Eduard Rozenberg) #2

Would install from source if you’re

  • Using --HEAD or --build-from-source install options

  • Using an old macos version - bottles only available for El Cap, Sierra, and H Sierra.

You can see the details with brew edit ghc@8.4