Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal On branch : master
http://hackage.haskell.org/trac/ghc/changeset/98126f70a3ae5cbfc5c44f935cf687878a7a216a >--------------------------------------------------------------- commit 98126f70a3ae5cbfc5c44f935cf687878a7a216a Author: bjorn <[email protected]> Date: Sat Oct 6 08:37:57 2007 +0000 s/parseDescription/parsePackageDescription/. >--------------------------------------------------------------- .../src/Network/Hackage/CabalInstall/Config.hs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cabal-install/src/Network/Hackage/CabalInstall/Config.hs b/cabal-install/src/Network/Hackage/CabalInstall/Config.hs index d3b4832..72a15b8 100644 --- a/cabal-install/src/Network/Hackage/CabalInstall/Config.hs +++ b/cabal-install/src/Network/Hackage/CabalInstall/Config.hs @@ -40,7 +40,7 @@ import System.IO.Unsafe import Distribution.Package (PackageIdentifier(..), showPackageId) import Distribution.PackageDescription (GenericPackageDescription(..) , PackageDescription(..) - , parseDescription, ParseResult(..)) + , parsePackageDescription, ParseResult(..)) import Distribution.Version (Dependency, showVersion) import Distribution.Verbosity import System.FilePath ((</>), takeExtension, (<.>)) @@ -124,7 +124,7 @@ parseRepoIndex :: Repo -> ByteString -> [PkgInfo] parseRepoIndex repo s = do (name, content) <- readTarArchive s if takeExtension name == ".cabal" - then case parseDescription (BS.unpack content) of + then case parsePackageDescription (BS.unpack content) of ParseOk _ descr -> return $ PkgInfo { pkgRepo = repo, pkgDesc = descr _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
