Open
Description
Your environment
Which OS do you use? Gentoo Linux
Which version of GHC do you use and how did you install it? 9.0.2 from gentoo linux
How is your project built? https://codeberg.org/amano.kenji/brick-tabular-list
Which LSP client (editor/plugin) do you use? nvim-lspconfig
Which version of HLS do you use and how did you install it? 1.9.0.0 from gentoo linux
Have you configured HLS in any way?
hie.yaml
cradle:
cabal:
Steps to reproduce
Just open demos/Internal/GridTabularList.hs directly in an editor.
Expected behaviour
No error
Actual behaviour
Diagnostics:
1. Failed to run ["cabal","v2-repl","/path/to/brick-tabular-list/demos/Internal/GridTabularList.hs"] in directory "/path/to/brick-tabular-list". Consult the logs for full command and error.
Failed command: cabal --builddir=$HOME/.cache/hie-bios/dist-brick-tabular-list-c78991b3683aa69b32ede05d7a2eb5f1 v2-repl --with-compiler $HOME/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg $HOME/.cache/hie-bios/ghc-pkg-4f7979c36ba0ad4f82ac0b5533000db1 /path/to/brick-tabular-list/demos/Internal/GridTabularList.hs
cabal: Ambiguous target
'/path/to/brick-tabular-list/demos/Internal/GridTabularList.hs'. It could be:
grid-tabular-list:demos/Internal/GridTabularList (file)
grid-tabular-list-vi:demos/Internal/GridTabularList (file)
Process Environment:
HIE_BIOS_GHC: /usr/lib64/ghc-9.0.2/bin/ghc
HIE_BIOS_GHC_ARGS: -B/usr/lib64/ghc-9.0.2