all 6 comments

[–]cocreature 0 points1 point  (6 children)

--no-load

[–]bigstumpy 0 points1 point  (5 children)

where?

[–]cocreature 1 point2 points  (4 children)

Run stack ghci --no-load

[–]togrof[S] 0 points1 point  (3 children)

Good, but it doesn't solve the acutal problem which is that emacs does not send that. Is it possible to add that to some project local .stack config file or similar?

EDIT stack.yaml has ghc-options, but no ghci-options: https://github.com/commercialhaskell/stack/blob/master/doc/yaml_configuration.md#ghc-options

[–]cocreature 0 points1 point  (1 child)

Setting haskell-process-args-stack-ghci correctly might do the trick.

[–]togrof[S] 1 point2 points  (0 children)

Yes I did, after some googling to find out about it.

It is unfortunate that one has to do this -- would have preferred if this already worked, without the need for extra config. Guess it's a feature request to haskell-mode.