diff --git a/Devel.hs b/Devel.hs
--- a/Devel.hs
+++ b/Devel.hs
@@ -2,6 +2,7 @@
 {-# LANGUAGE QuasiQuotes         #-}
 {-# LANGUAGE TemplateHaskell     #-}
 {-# LANGUAGE ScopedTypeVariables #-}
+{-# LANGUAGE CPP                 #-}
 module Devel
     ( devel
     ) where
@@ -35,6 +36,12 @@
 
 import Build (recompDeps, getDeps,findHaskellFiles)
 
+#if __GLASGOW_HASKELL__ >= 700
+#define ST st
+#else
+#define ST $st
+#endif
+
 lockFile :: FilePath
 lockFile = "dist/devel-terminate"
 
@@ -137,7 +144,7 @@
 showPkgName = (\(D.PackageName n) -> n) . D.pkgName
 
 develFile :: D.PackageId -> T.Text
-develFile pid = [st|
+develFile pid = [ST|
 {-# LANGUAGE PackageImports #-}
 import "#{showPkgName pid}" Application (withDevelAppPort)
 import Data.Dynamic (fromDynamic)
diff --git a/yesod.cabal b/yesod.cabal
--- a/yesod.cabal
+++ b/yesod.cabal
@@ -1,5 +1,5 @@
 name:            yesod
-version:         0.9.2.1
+version:         0.9.2.2
 license:         BSD3
 license-file:    LICENSE
 author:          Michael Snoyman <michael@snoyman.com>
@@ -100,7 +100,7 @@
                      , attoparsec-text    >= 0.8.5        && < 0.9
                      , http-types         >= 0.6.1        && < 0.7
                      , blaze-builder      >= 0.2          && < 0.4
-                     , filepath           >= 1.2          && < 1.3
+                     , filepath           >= 1.1          && < 1.3
                      , process
     ghc-options:       -Wall -threaded
     main-is:           main.hs
