diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,14 @@
 
 # Releases
 
+## Hakyll 4.12.4.0 (2018-08-13)
+
+- Bump yaml to 0.10
+- Bump file-embed to 0.0.11
+- Bump QuickCheck to 2.12
+- Use makeRelativeToProject with embedFile for stack ghci (contribution by
+  Michael Sloan)
+
 ## Hakyll 4.12.3.0 (2018-05-29)
 
 - Bump tasty to 1.1
diff --git a/hakyll.cabal b/hakyll.cabal
--- a/hakyll.cabal
+++ b/hakyll.cabal
@@ -1,5 +1,5 @@
 Name:    hakyll
-Version: 4.12.3.0
+Version: 4.12.4.0
 
 Synopsis: A static website compiler library
 Description:
@@ -187,9 +187,9 @@
     time-locale-compat   >= 0.1      && < 0.2,
     unordered-containers >= 0.2      && < 0.3,
     vector               >= 0.11     && < 0.13,
-    yaml                 >= 0.8.11   && < 0.9,
+    yaml                 >= 0.8.11   && < 0.11,
     optparse-applicative >= 0.12     && < 0.15,
-    file-embed           >= 0.0.10.1 && < 0.0.11
+    file-embed           >= 0.0.10.1 && < 0.0.12
 
   If flag(previewServer)
     Build-depends:
@@ -259,7 +259,7 @@
 
   Build-Depends:
     hakyll,
-    QuickCheck                 >= 2.8  && < 2.12,
+    QuickCheck                 >= 2.8  && < 2.13,
     tasty                      >= 0.11 && < 1.2,
     tasty-hunit                >= 0.9  && < 0.11,
     tasty-quickcheck           >= 0.8  && < 0.11,
@@ -270,7 +270,7 @@
     filepath             >= 1.0      && < 1.5,
     text                 >= 0.11     && < 1.3,
     unordered-containers >= 0.2      && < 0.3,
-    yaml                 >= 0.8.11   && < 0.9
+    yaml                 >= 0.8.11   && < 0.11
 
   If flag(previewServer)
     Cpp-options:
diff --git a/lib/Hakyll/Web/Feed.hs b/lib/Hakyll/Web/Feed.hs
--- a/lib/Hakyll/Web/Feed.hs
+++ b/lib/Hakyll/Web/Feed.hs
@@ -35,7 +35,7 @@
 
 
 --------------------------------------------------------------------------------
-import           Data.FileEmbed              (embedFile)
+import           Data.FileEmbed              (makeRelativeToProject, embedFile)
 import qualified Data.Text                   as T
 import qualified Data.Text.Encoding          as T
 
@@ -43,20 +43,19 @@
 --------------------------------------------------------------------------------
 rssTemplate :: String
 rssTemplate = T.unpack $
-    T.decodeUtf8 $(embedFile "data/templates/rss.xml")
+    T.decodeUtf8 $(makeRelativeToProject "data/templates/rss.xml" >>= embedFile)
 
 rssItemTemplate :: String
 rssItemTemplate = T.unpack $
-    T.decodeUtf8 $(embedFile "data/templates/rss-item.xml")
+    T.decodeUtf8 $(makeRelativeToProject "data/templates/rss-item.xml" >>= embedFile)
 
 atomTemplate :: String
 atomTemplate = T.unpack $
-    T.decodeUtf8 $(embedFile "data/templates/atom.xml")
+    T.decodeUtf8 $(makeRelativeToProject "data/templates/atom.xml" >>= embedFile)
 
 atomItemTemplate :: String
 atomItemTemplate = T.unpack $
-    T.decodeUtf8 $(embedFile "data/templates/atom-item.xml")
-
+    T.decodeUtf8 $(makeRelativeToProject "data/templates/atom-item.xml" >>= embedFile)
 
 --------------------------------------------------------------------------------
 -- | This is a data structure to keep the configuration of a feed.
