diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
 ## Changelog
 
+#### 0.3.3.7 (2014-05-12)
+
+* Take `HASKELL_PACKAGE_SANDBOX` into account when compiling Fay code
+
 #### 0.3.3.6 (2014-05-11)
 
 * Allow `mtl 2.2.*`
diff --git a/snaplet-fay.cabal b/snaplet-fay.cabal
--- a/snaplet-fay.cabal
+++ b/snaplet-fay.cabal
@@ -1,5 +1,5 @@
 name:                snaplet-fay
-version:             0.3.3.6
+version:             0.3.3.7
 synopsis:            Fay integration for Snap with request- and pre-compilation.
 description:         Fay integration for Snap with request based compilation during development and precompilation in production.
                      For more information, please see <https://github.com/bergmark/snaplet-fay>.
@@ -54,7 +54,6 @@
     , aeson        >= 0.6 && < 0.8
     , bytestring   >= 0.9 && < 0.11
     , configurator == 0.2.*
-    , data-default == 0.5.*
     , directory    >= 1.1 && < 1.3
     , fay          == 0.20.*
     , filepath     == 1.3.*
diff --git a/src/Snap/Snaplet/Fay/Internal.hs b/src/Snap/Snaplet/Fay/Internal.hs
--- a/src/Snap/Snaplet/Fay/Internal.hs
+++ b/src/Snap/Snaplet/Fay/Internal.hs
@@ -7,7 +7,6 @@
 import           Control.Monad
 import qualified Data.Aeson                 as A
 import qualified Data.ByteString.Lazy.Char8 as C
-import           Data.Default
 import qualified Fay                        as F
 import           System.Directory
 import           System.FilePath
@@ -52,11 +51,14 @@
       return NotFound
     else do
       f' <- canonicalizePath f
-      res <- flip F.compileFile f' $ F.addConfigPackages (packages config) $
-                                      F.addConfigDirectoryIncludePaths (includeDirs config) $
-                                        def { F.configPrettyPrint = prettyPrint config
-                                            , F.configFilePath = Just f'
-                                            }
+      defConfig <- F.defaultConfigWithSandbox
+      res <- flip F.compileFile f'
+           . F.addConfigPackages (packages config)
+           . F.addConfigDirectoryIncludePaths (includeDirs config)
+           $ defConfig
+               { F.configPrettyPrint = prettyPrint config
+               , F.configFilePath = Just f'
+               }
       case res of
         Right out -> do
           verbosePut config $ "Compiled " ++ hsRelativePath f
