You can use the GHC musl container: benz0li/ghc-musl:9.8.4 to create static binaries. I've specialized that into -arm64 and -amd64 containers for forgejo actions.

Anytime I push to my Haskell repos my actions automatically create static binaries for installation on my nodes.