[xxxx@xxxxxxx ~]$ stack setup
Writing implicit global project config file to: /home/leon/.stack/global-projec
Note: You can change the snapshot via the resolver field there.
Using latest snapshot resolver: lts-12.12
Downloaded lts-12.12 build plan.
Preparing to install GHC (ncurses6) to an isolated location.
This will not interfere with any system-level installation.
Downloaded ghc-ncurses6-8.4.3.
Unpacking GHC into /home/leon/.stack/programs/x86_64-linux/ghc-ncurses6-8.4.3.t
Installing GHC ...
Received ExitFailure 2 when running
Raw command: /usr/bin/make install
Run from: /home/leon/.stack/programs/x86_64-linux/ghc-ncurses6-8.4.3.temp/ghc-8.4.3/