A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/haskell/haskell-language-server/issues/268 below:

Support for multiple GHC versions via multiple stack.yaml files? · Issue #268 · haskell/haskell-language-server · GitHub

I have 2 separate (but related) projects with different stack.yaml files defining different LTS versions for different GHC versions. I can't see an obvious way to tell HIE about this via the hie.yaml, i.e. I can't say the path ./client is a stack cradle, but please execute with ./client/stack.yaml as the root.

From another perspective, I can run both of these commands and they work, but I don't know how to write a hie.yaml that captures this:

$ stack repl project:exe:server
$ stack --stack-yaml client/stack.yaml repl project-js:exe:client

It looks like haskell/hie-bios#230 captures this requirement for me, but as that's not neccessarily going to be merged, I wonder whether there's some other solution I'm missing due to my fairly limited experience with Haskell builds; my case is that I have a server/client architecture with Haskell on both ends, but I'm using Haste (which is stuck on GHC 7.10.3) - in order to get my client code compiling for use by HIE I'm using Stack LTS 6.35 in a separate directory.

Should I restructure my project to have multiple hie.yaml files? Would they have to be in parallel (rather than nested) directories? Am I simply missing something obvious? :)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4