-
-
Notifications
You must be signed in to change notification settings - Fork 401
Open
Labels
build tool: cabalstatus: blockedNot actionable, because blocked by upstream/GHC etc.Not actionable, because blocked by upstream/GHC etc.type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Description
Your environment
Which OS do you use?
Gentoo
Which version of GHC do you use and how did you install it?
9.8.2 compiled from sources
How is your project built?
cabal-version: 3.0
name: project
version: 0.1.0.0
-- synopsis:
-- description:
license: NONE
author: Me
maintainer: no
-- copyright:
category: Testing
build-type: Simple
extra-doc-files: CHANGELOG.md
-- extra-source-files:
common warnings
ghc-options: -Wall -main-is Server
executable app
import: warnings
main-is: Main.hs
-- other-modules:
-- other-extensions:
build-depends:
...
hs-source-dirs: app
default-language: GHC2021
Which LSP client (editor/plugin) do you use?
neovim + lsp-configs
Which version of HLS do you use and how did you install it?
2.7.0.0 compiled from sources
Have you configured HLS in any way (especially: a hie.yaml
file)?
Nope
Steps to reproduce
Put a sample project on a path with spaces, e.g:
/tmp/ab c/project
Expected behaviour
HLS successfully loads the project.
Actual behaviour
Diagnostics:
Loading the module '/tmp/ab c/project/app/Main.hs' failed.
It may not be listed in your .cabal file!
Perhaps you need to add `Main` to other-modules or exposed-modules.
For more information, visit: https://cabal.readthedocs.io/en/3.4/developing-pa
ckages.html#modules-included-in-the-package
natewindfendor and gavinmorrow
Metadata
Metadata
Assignees
Labels
build tool: cabalstatus: blockedNot actionable, because blocked by upstream/GHC etc.Not actionable, because blocked by upstream/GHC etc.type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..