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:
- .