admin 管理员组

文章数量: 1086019

I get following error in VSCode:

However, when I run this command in shell manually it works fine:

% stack --stack-yaml /home/user/haskell/h5/stack.yaml exec ghc -- --numeric-version
9.8.2

My stack.yaml is minimal:

% cat stack.yaml  | grep -v '^\s*#'

snapshot: ghc-9.8.2

packages:
- .

本文标签: Visual Studio Code Haskell extension fails to find ghc versionStack Overflow