-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Steps to reproduce:
- Create a new project with cabal
- Put this in Main.hs:
module Main where
import Brick
ui :: Widget ()
ui = str "Hello, world!"
main :: IO ()
main = simpleMain ui
- Change
build-depends
in project.cabal to this:
build-depends: base ^>=4.18.3.0
, brick ^>=2.9
- Open Main.hs and start lsp.
In this case, cabal build
works just fine, as does eglot
. But lsp
reports the following error on line 3:
Could not find module 'Brick'.
I tried M-x cd
to the project root directory, and also to the app/ directory where Main.hs is located, but that didn't seem to affect anything.
Metadata
Metadata
Assignees
Labels
No labels