I would imagine this is a matter of setting the appropriate package
databases. I haven't played with hint in a while, but I think you can do
that by setting GHC_PACKAGE_PATH. If you run `stack exec env`, you should
see the correct value.

On Wed, Mar 22, 2017 at 3:42 PM, Leonardo Taglialegne <
cmt.minib...@gmail.com> wrote:

> I'm developing an application which will use hint for runtime evaluation
> of some haskell code.
>
> The application is divided into an exe and a lib, and I want to make the
> lib types accessible to the running code.
>
> When I stack install the project, hint can't find the lib modules. Do you
> know how could I instruct it to look into the correct places? What are the
> correct places anyhow?
>
> Should I simply wrap ghc myself?
>
> --
> You received this message because you are subscribed to the Google Groups
> "haskell-stack" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to haskell-stack+unsubscr...@googlegroups.com.
> To post to this group, send email to haskell-stack@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/haskell-stack/98470c65-4ca3-472a-8bda-6be9286f206b%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/haskell-stack/98470c65-4ca3-472a-8bda-6be9286f206b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haskell-stack+unsubscr...@googlegroups.com.
To post to this group, send email to haskell-stack@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/haskell-stack/CAKA2JgL2ZCdEeBtLCHGJQJ%3DD1NxmHNAmtQEST%2BoGaLeubNiUxQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to