*** Exception: user error (Use of GHC's environment variable GHC_PACKAGE_PATH is incompatible with Cabal. Use the flag --package-db to specify a package database (it can be used multiple times).)
$ stack ghci
Using main module: Package `plop' component exe:plop-exe with main-is file: /Users/adam/plop/app/Main.hs
The following GHC options are incompatible with GHCi and have not been passed to it: -threaded
Configuring GHCi with the following packages: plop
[1 of 2] Compiling Lib ( /Users/adam/plop/src/Lib.hs, interpreted )
[2 of 2] Compiling Main ( /Users/adam/plop/app/Main.hs, interpreted )
Ok, modules loaded: Lib, Main.
syntax: :module [+/-] [*]M1 ... [*]Mn
*Main> import System.Eval.Haskell
*Main System.Eval.Haskell> eval "plop" []
*** Exception: user error (Use of GHC's environment variable GHC_PACKAGE_PATH is incompatible with Cabal. Use the flag --package-db to specify a package database (it can be used multiple times).)
*Main System.Eval.Haskell>
As I've just started trying out stack, and never grokked cabal, I'm not at all sure how to go about getting this to work. Any advice would thus be welcome.