diff --git a/Documentation/Haddocset.hs b/Documentation/Haddocset.hs
--- a/Documentation/Haddocset.hs
+++ b/Documentation/Haddocset.hs
@@ -31,7 +31,7 @@
 import           Data.Typeable                     (Typeable)
 
 import           System.FilePath
-import           System.Directory
+import           System.Directory                  hiding (listDirectory)
 
 import           System.IO
 import           System.IO.Error(mkIOError, alreadyExistsErrorType, isDoesNotExistError)
@@ -119,7 +119,9 @@
         hs@(h:_) -> readInterfaceFile freshNameCache h >>= \ei -> case ei of
             Left _     -> return Nothing
             Right (InterfaceFile _ (intf:_)) -> do
-#if __GLASGOW_HASKELL__ >= 710
+#if __GLASGOW_HASKELL__ >= 800
+                let rPkg = readP_to_S parse . Ghc.unitIdString . Ghc.moduleUnitId $ instMod intf :: [(PackageId, String)]
+#elif __GLASGOW_HASKELL__ >= 710
                 let rPkg = readP_to_S parse . Ghc.packageKeyString . Ghc.modulePackageKey $ instMod intf :: [(PackageId, String)]
 #else
                 let rPkg = readP_to_S parse . Ghc.packageIdString . Ghc.modulePackageId $ instMod intf :: [(PackageId, String)]
diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2014, philopon
+Copyright (c) 2014-2016, philopon
 
 All rights reserved.
 
diff --git a/haddocset.cabal b/haddocset.cabal
--- a/haddocset.cabal
+++ b/haddocset.cabal
@@ -1,5 +1,5 @@
 name:                haddocset
-version:             0.4.1
+version:             0.4.2
 synopsis:            Generate docset of Dash by Haddock haskell documentation tool
 description:         please read README.md <https://github.com/philopon/haddocset/blob/master/README.md>
 license:             BSD3
@@ -8,7 +8,7 @@
 maintainer:          HirotomoMoriwaki<philopon.dependence@gmail.com>
 Homepage:            https://github.com/philopon/haddocset
 Bug-reports:         https://github.com/philopon/haddocset/issues
-copyright:           (c) 2014-2015 Hirotomo Moriwaki
+copyright:           (c) 2014-2016 Hirotomo Moriwaki
 category:            Distribution
 build-type:          Simple
 cabal-version:       >=1.10
@@ -20,23 +20,23 @@
       Documentation.Haddocset.Index
       Documentation.Haddocset.Plist
   ghc-options:         -Wall -O2
-  build-depends:       base                 >=4.6   && <4.9
-                     , ghc                  >=7.4   && <7.11
-                     , optparse-applicative >=0.11  && <0.12
+  build-depends:       base                 >=4.6   && <4.10
+                     , ghc                  >=7.4   && <8.1
+                     , optparse-applicative >=0.11  && <0.13
                      , conduit              >=1.0   && <1.3
                      , conduit-extra        >=1.1   && <1.2
                      , tagsoup              >=0.13  && <1.4
-                     , Cabal                >=1.16  && <1.23
+                     , Cabal                >=1.16  && <1.25
                      , text                 >=1.0   && <1.3
                      , sqlite-simple        >=0.4.5 && <0.5
-                     , process              >=1.1   && <1.3
+                     , process              >=1.1   && <1.5
                      , directory            >=1.1   && <1.3
                      , filepath             >=1.3   && <1.5
-                     , transformers         >=0.3   && <0.5
+                     , transformers         >=0.3   && <0.6
                      , exceptions           >=0.6   && <0.9
                      , resourcet            >=1.1   && <1.2
-                     , mtl                  >=2.0   && <2.3
-                     , http-types           >=0.8   && <0.9
+                     , mtl                  >=2.0   && <2.4
+                     , http-types           >=0.8   && <0.10
   if impl(ghc >= 7.8)
     build-depends:     haddock-api          >=2.15
   else
