Use an extensible-exceptions package when bootstrapping
[ghc-hetmet.git] / compiler / ghc.cabal.in
index 7596dde..bf077aa 100644 (file)
@@ -94,8 +94,9 @@ Library
 
     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