From fb1bea8371fd34f8fb9858a315773a8b0492f295 Mon Sep 17 00:00:00 2001 From: Ross Paterson Date: Sun, 19 Aug 2007 23:35:00 +0000 Subject: [PATCH] test impl(ghc) instead of IsGHC --- base.cabal | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/base.cabal b/base.cabal index 2758ee8..b468df6 100644 --- a/base.cabal +++ b/base.cabal @@ -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, -- 1.7.10.4