Tweak ghc-cabal
authorIan Lynagh <igloo@earth.li>
Wed, 29 Apr 2009 18:37:28 +0000 (18:37 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 29 Apr 2009 18:37:28 +0000 (18:37 +0000)
utils/ghc-cabal/ghc-cabal.hs

index c19217e..3bcf76e 100644 (file)
@@ -179,7 +179,7 @@ generate config_args distdir directory
                   maybeSetLibiconv verbosity (libBuildInfo lib) lbi
 
       hooked_bi <-
-           if (buildType pd0 == Just Configure)
+           if (buildType pd0 == Just Configure) || (buildType pd0 == Just Custom)
            then do
               maybe_infoFile <- defaultHookedPackageDesc
               case maybe_infoFile of