Haskell堆栈找不到安装的ghc

pri*_*cks 7 linux haskell-stack

已经建立的项目无法找到GHC.堆栈构建导致:

No compiler found, expected minor version match with ghc-8.0.2 (x86_64-ncurses6-nopie)
(based on resolver setting in /home/iam/Work/has/grove/stack.yaml).
To install the correct GHC into /home/iam/.stack/programs/x86_64-linux/, try running "stack
setup" or use the "--install-ghc" flag. To use your system GHC installation,
run "stack config set system-ghc --global true", or use the "--system-ghc" flag.
Run Code Online (Sandbox Code Playgroud)

堆栈设置导致:

Unable to find installation URLs for OS key: linux64-ncurses6-nopie
However, in .stack-work, in the install file there is a folder called x86_64-linux-ncurses6,
not linux64-ncurses6-nopie
Run Code Online (Sandbox Code Playgroud)

Stack由pacman安装.版本1.4.0 x86_64,该项目使用解析器:lts-8.21

小智 8

这个问题在上游已知.(https://github.com/commercialhaskell/stack/issues/3268).正如本期所述,从AUR安装libtinfo有帮助,因为tinfo-nopieGHC 有一个绑定器.我还没有遇到TimoFreiberg(他正在提供一个ncurses6-nopie绑定主义者)报告的问题.