I have a locally authored Haskell project, which produces both:
- a binary executable, and
- several new Haskell modules, which I'd like made accessible to my other, Haskell based, executables.
After:
stack build
stack install
I'm finding that:
- the binary executable (#1, above) runs just fine from any directory.
- But, the new Haskell modules (#2, above) are only found when I'm running from within my project directory! (That is, for any executable other than #1, above.)
I need to be able to find the new modules from anywhere. How can I achieve this?