[commit: Cabal] master: Update for checkPackage change (150df92)
Paolo Capriotti
p.capriotti at gmail.com
Tue May 8 00:13:15 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/150df928cf2b5de16666f135cd44b23e06479414
>---------------------------------------------------------------
commit 150df928cf2b5de16666f135cd44b23e06479414
Author: Duncan Coutts <duncan at haskell.org>
Date: Wed Apr 23 15:38:17 2008 +0000
Update for checkPackage change
>---------------------------------------------------------------
cabal-install/Hackage/Check.hs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cabal-install/Hackage/Check.hs b/cabal-install/Hackage/Check.hs
index 6640e69..2af71ed 100644
--- a/cabal-install/Hackage/Check.hs
+++ b/cabal-install/Hackage/Check.hs
@@ -42,7 +42,7 @@ check verbosity = do
-- the exact same errors as it will.
let pkg_desc = flattenPackageDescription ppd
ioChecks <- checkPackageFiles pkg_desc "."
- let packageChecks = ioChecks ++ checkPackage pkg_desc
+ let packageChecks = ioChecks ++ checkPackage ppd (Just pkg_desc)
buildImpossible = [ x | x at PackageBuildImpossible {} <- packageChecks ]
buildWarning = [ x | x at PackageBuildWarning {} <- packageChecks ]
distSuspicious = [ x | x at PackageDistSuspicious {} <- packageChecks ]
More information about the Cvs-libraries
mailing list