Thank you very much, this solved my problem perfectly 2017-03-22 17:54 GMT+01:00 Michael Snoyman <[email protected]>:
> 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 < > [email protected]> 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 [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/CAK6LAGFggonOQNUmZ%3D6eQhXK_b9K%2BhK64nb_KqkWVFdi%3DUDvOA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
