zlib1g-dev required
lxc launch ubuntu:20.04
getting Linux ... 5.13.0-27-generic #29 (closed)~20.04.1-Ubuntu SMP Fri Jan 14 00:32:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
ghci works, cabal works
cabal install cabal-install
errors:
cabal: Failed to build zlib-0.6.2.3 (which is required by exe:cabal from
cabal-install-3.6.2.0).
See also https://github.com/haskell/cabal/issues/7927#issuecomment-1023645083