commercialhaskell / commercialhaskell/stack

ghci should put .hie files in .stack-work

Open
#5,419 3 comments 0 reactions 0 assignees View on GitHub
component: build component: ghci type: question
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

Our `stack.yaml` file has
```yaml
ghc-options:
"$locals": -fwrite-ide-info
```
and when running `stack build`, the `.hie` files are correctly written to `.stack-work`. But running `stack ghci` puts the `.hie` files next to the source files.

Is it possible for `stack ghci` to put `.hie` files in `.stack-work` as well?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.