Closed filmackay closed 8 years ago
Sure. Use cabal project, and specify additional source paths to your heart's content in project file.
Closing due to lack of activity
follow-up: the issue I have is that ghc-mod seems to read source paths from the first section of the file, outside executable or library. Is this intended? I don't think you're meant to put anything in the 'global' section (?)
Sorry, this seems out of scope, since it's ghc-mod that handles this, not haskell-ghc-mod. You should probably raise this question at https://github.com/kazu-yamamoto/ghc-mod/issues.
That said, I don't think I ever encountered this problem. For example, https://github.com/lierdakil/pandoc-crossref/blob/master/pandoc-crossref.cabal has hs-source-dirs
in respective Executable
and Test-Suite
sections, and it all "just works"
Is there a way with this add-in to supply additional source paths, like you do with "ghci -i" command-line?