-
- Notifications
You must be signed in to change notification settings - Fork 407
Closed
Labels
build tool: stackcan-workaroundstatus: needs infoNot actionable, because there's missing informationNot actionable, because there's missing informationtype: 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
Hi there,
It seems that after the latest update, HLS no longer works with my stack projects.
No matter if I create the configuration manually or if I use gen-hie supplying hie.yaml file. I always get the following error shown in vscode problems window:
Multi Cradle: No prefixes matched pwd: /Users/admin/GitLab/Horta filepath: /Users/admin/GitLab/Horta/src/Main.hs prefixes: ("./src/Main.hs", Stack {component = Just "horta:exe:horta", stackYaml = Nothing}) ...
After this the plugin does not work, mouse over does not resolve types, etc.
My Environment
/Users/admin/Library/Application\ Support/Code/User/globalStorage/haskell.haskell/haskell-language-server-0.5.0-darwin-8.8.3 --probe-tools haskell-language-server version: 0.5.0.0 (GHC: 8.8.3) (PATH: /Users/admin/Library/Application Support/Code/User/globalStorage/haskell.haskell/haskell-language-server-0.5.0-darwin-8.8.3) (GIT hash: 14497f2503a2a0d389fabf3b146d674b9af41a34) Tool versions found on the $PATH cabal: 2.4.1.0 stack: 2.3.3 ghc: Not found
-
Visual Studio Code for MacOS
-
stack.yaml
resolver: lts-15.13 packages: - '.' extra-deps: - bounded-tchan-0.2.3 - vector-strategies-0.4 - git: https://github.com/haskell-works/hw-kafka-client.git commit: 2d33327f94802048aeb6b5818db381edca544db7 # master - './vegoia-tree-lib' - './vegoia-label' # Override default flag values for local packages and extra-deps flags: aeson: cffi: true # Extra package databases containing global packages extra-package-dbs: [] extra-include-dirs: - /usr/local/opt/openssl/include extra-lib-dirs: - /usr/local/opt/openssl/lib - /usr/local/lib - ./lib rebuild-ghc-options: true
- horta.cabal
name: horta version: 3.24.1 -- synopsis: -- description: homepage: https://github.com/githubuser/horta#readme license-file: LICENSE author: Author name here maintainer: nicola.bonelli@larthia.com copyright: 2018 Nicola Bonelli category: Web build-type: Simple cabal-version: >=1.10 extra-source-files: README.md flag UseLicense { Description: "Compile with lasa license" Default: False } executable horta hs-source-dirs: src main-is: Main.hs other-modules: Horta.Icmp Horta.Flow Horta.Event Horta.Flow.Aeson Horta.SmallFlow Horta.StandardFlow Horta.Ingester ... default-language: Haskell2010 build-depends: base >= 4.7 && < 5 , optparse-applicative , safe , safe-exceptions , unordered-containers , http-streams , bytestring , deepseq , text , text-show , split , io-streams , binary , yaml , scotty , aeson .... Ghc-options: -O2 -Wall -Wmissing-deriving-strategies -funbox-strict-fields -fwrite-ide-info -hiedir=.hie -threaded -rtsopts "-with-rtsopts=-N -qm -H1g -M2g" extra-libraries: rdkafka
Thanks,
Nicola
Metadata
Metadata
Assignees
Labels
build tool: stackcan-workaroundstatus: needs infoNot actionable, because there's missing informationNot actionable, because there's missing informationtype: 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..