Always use extensible exceptions in ghc-pkg, rather than using ifdefs
[ghc-hetmet.git] / utils / ghc-pkg / ghc-pkg.cabal
index a201cb8..393e44d 100644 (file)
@@ -35,6 +35,9 @@ Executable ghc-pkg
                        process    >= 1   && < 1.1,
                        pretty     >= 1   && < 1.1
 
+    if impl(ghc < 6.9)
+        Build-Depends: extensible-exceptions
+
     Build-Depends: haskell98, filepath, Cabal
     if !os(windows)
         Build-Depends: unix