Cross compilation could definitely be easier :-/ I tend to just use github actions and compile from whatever architecture it should run on, so that's a workaround. I long for a day when I can just `cabal build --platform=amd64` etc. and it Just Works without having to download and compile a horde of foreign libs or set up a vm

> cabal build --platform=amd64

It's almost a one-liner + a nix derivation import, works within a minute on incremental builds even on large projects: https://input-output-hk.github.io/haskell.nix/tutorials/cros...

but does it require installing nix on mac? also many people are not familiar with nix and brew does all i need.

> but does it require installing nix on mac?

yes:

    sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install)
https://nixos.org/download/

> also many people are not familiar with nix and brew does all i need

it's a good reason to learn Nix then: it will completely replace your brew and offer an ultimate build tool suitable for any software stack moving forward. And you'll get cross-platform and static Haskell builds.