How to build application in arm64 arch with a x86_64 host

Building cross compilers via hadrian works in GHCup, see [ANN] GHCup-0.1.19.5 release candidate (GHC JS cross support)

build.mk isn’t used anymore. You’ll have to read up on build flavours and flavour transformers.