diff --git a/Haskintex.hs b/Haskintex.hs
--- a/Haskintex.hs
+++ b/Haskintex.hs
@@ -36,7 +36,7 @@
 -- Lists
 import Data.List (intersperse, isSuffixOf)
 -- GHC
-import Language.Haskell.Interpreter hiding (get)
+import Language.Haskell.Interpreter hiding (get, modName)
 import Language.Haskell.Interpreter.Unsafe (unsafeRunInterpreterWithArgs)
 import Data.Typeable
 import qualified Language.Haskell.Exts.Pretty as H
@@ -564,13 +564,21 @@
   let p = if isMemo then M.lookup t memt else Nothing
   case p of
     Nothing -> do
+      useStack <- fmap (maybe False isStackDB . packageDb) get
       -- Run GHC externally and read the result.
-      r <- lift $ pack . init <$> readProcess "ghc"
+      r <- if useStack
+        then lift $ pack . init <$> readProcess "stack"
                 -- Disable reading of .ghci files.
-                [ "-ignore-dot-ghci"
+                ["ghc", "--", "-ignore-dot-ghci", 
                 -- Evaluation loading the temporal module.
-                , "-e", e, modName ++ ".hs"
-                  ] []
+                modName ++ ".hs"
+                , "-e", e ] []
+        else lift $ pack . init <$> readProcess "ghc"
+                -- Disable reading of .ghci files.
+                ["-ignore-dot-ghci", 
+                -- Evaluation loading the temporal module.
+                modName ++ ".hs"
+                , "-e", e ] []
       -- If the expression is marked to be memorized, we do so.
       when isMemo $ do
          modify $ \st -> st { memoTree = M.insert t r $ memoTree st }
diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2013, Daniel Díaz
+Copyright (c) 2017, Daniel Díaz
 
 All rights reserved.
 
diff --git a/haskintex.cabal b/haskintex.cabal
--- a/haskintex.cabal
+++ b/haskintex.cabal
@@ -1,5 +1,5 @@
 name:                haskintex
-version:             0.8.0.0
+version:             0.8.0.1
 synopsis:            Haskell Evaluation inside of LaTeX code.
 description:
   The /haskintex/ (Haskell in LaTeX) program is a tool that reads a LaTeX file and evaluates Haskell expressions contained
