Fix #1955 for heap profiles generated by +RTS -hT
[ghc-hetmet.git] / compiler / ghc.cabal.in
index 156a2f8..deca837 100644 (file)
@@ -57,8 +57,8 @@ Library
                        process    >= 1   && < 1.1,
                        bytestring >= 0.9 && < 0.10,
                        old-time   >= 1   && < 1.1,
-                       containers >= 0.1 && < 0.2,
-                       array      >= 0.1 && < 0.2
+                       containers >= 0.1 && < 0.3,
+                       array      >= 0.1 && < 0.3
 
     Build-Depends: filepath >= 1 && < 1.2
     Build-Depends: haskell98, Cabal, hpc
@@ -88,14 +88,16 @@ Library
     Extensions: CPP, MagicHash, UnboxedTuples, PatternGuards,
                 ForeignFunctionInterface, EmptyDataDecls,
                 TypeSynonymInstances, MultiParamTypeClasses,
-                FlexibleInstances, Rank2Types, ScopedTypeVariables
+                FlexibleInstances, Rank2Types, ScopedTypeVariables,
+                DeriveDataTypeable
 
     Include-Dirs: . parser utils
 
     if flag(stage1)
         Include-Dirs: stage1
-       if impl(ghc < 6.9)
-           Extensions: PatternSignatures
+        if impl(ghc < 6.9)
+            Build-Depends: extensible-exceptions
+            Extensions: PatternSignatures
     else
         Include-Dirs: stage2plus
     Install-Includes: HsVersions.h, ghc_boot_platform.h