In ghc-pkg, send warnings to stderr
[ghc-hetmet.git] / utils / ghc-pkg / ghc-pkg.cabal
index a201cb8..0b8bb37 100644 (file)
@@ -35,7 +35,10 @@ Executable ghc-pkg
                        process    >= 1   && < 1.1,
                        pretty     >= 1   && < 1.1
 
-    Build-Depends: haskell98, filepath, Cabal
+    if impl(ghc < 6.9)
+        Build-Depends: extensible-exceptions
+
+    Build-Depends: haskell98, filepath, Cabal, bin-package-db
     if !os(windows)
         Build-Depends: unix
     if os(windows)