test impl(ghc) instead of IsGHC
authorRoss Paterson <ross@soi.city.ac.uk>
Sun, 19 Aug 2007 23:35:00 +0000 (23:35 +0000)
committerRoss Paterson <ross@soi.city.ac.uk>
Sun, 19 Aug 2007 23:35:00 +0000 (23:35 +0000)
base.cabal

index 2758ee8..b468df6 100644 (file)
@@ -9,16 +9,11 @@ description:
     and a large collection of useful libraries ranging from data
     structures to parsing combinators and debugging utilities.
 
-Flag IsGHC {
-    Description: Are we compiling with GHC?
-    Default: True
-}
-
 Library {
     -- This is actually something of a hack, as if we are using
     -- GHC and we don't have an rts package for some reason, we
     -- actually ought to fail.
-    if flag(IsGHC) {
+    if impl(ghc) {
         build-depends: rts
         exposed-modules:
             Data.Generics,