Using stack on Raspberry Pi

I did the same and now I get the following output for stack build:

No setup information found for ghc-8.8.4 on your platform.
This probably means a GHC bindist has not yet been added for OS key 'linux-aarch64', 'linux-aarch64-ncurses6', 'linux-aarch64-tinfo6'.
Supported versions: ghc-8.2.1, ghc-8.2.2, ghc-8.4.1, ghc-8.4.2, ghc-8.6.2, ghc-8.6.5, ghc-8.8.1, ghc-8.8.2, ghc-8.8.3, ghc-8.10.1, ghc-8.10.2, ghc-8.10.3, ghc-8.10.4, ghc-9.0.1

This is a better error message. I guess I just have to choose another version of the compiler, which is not limiting at all for me.

I just want to say that, beyond our compilation issues for ARM 64-bits, I find it disturbing and not user-friendly to have a working haskell-stack Ubuntu package, yet a failing official installation script through curl.

But I’ll stop being negative on stack for a while, because the ecosystem is already very nice for desktop projects and I do not want to be regarded as critical. I have only heard about cabal's dependency hell and thankfully stack allowed me to build several projects without having to actually dive into it.