diff --git a/cabal-src-install.hs b/cabal-src-install.hs
--- a/cabal-src-install.hs
+++ b/cabal-src-install.hs
@@ -10,6 +10,7 @@
 import qualified Data.ByteString as S
 import qualified Data.ByteString.Lazy as L
 import Control.Applicative ((<$>))
+import Control.Exception (throw)
 
 rawSystem' :: String -> [String] -> IO ()
 rawSystem' a b = do
@@ -47,7 +48,7 @@
     e <- doesFileExist tb
     entries <-
         if e
-            then Tar.foldEntries (:) [] error . Tar.read . L.fromChunks . return
+            then Tar.foldEntries (:) [] throw . Tar.read . L.fromChunks . return
                 <$> S.readFile tb
             else return []
     cabalLBS <- L.readFile $ name ++ ".cabal"
diff --git a/cabal-src.cabal b/cabal-src.cabal
--- a/cabal-src.cabal
+++ b/cabal-src.cabal
@@ -1,5 +1,5 @@
 Name:                cabal-src
-Version:             0.2
+Version:             0.2.0.1
 Synopsis:            Alternative install procedure to avoid the diamond dependency issue.
 Description:         Please see the README.md file on Github for more information: <https://github.com/yesodweb/cabal-src/blob/master/README.md>.
 License:             BSD3
@@ -16,7 +16,7 @@
   Main-is:             cabal-src-install.hs
   Build-depends:       base          >= 4 &&        < 5
                      , bytestring
-                     , tar
+                     , tar           >= 0.4 && < 0.5
                      , directory
                      , process
 
