Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal On branch : master
http://hackage.haskell.org/trac/ghc/changeset/860c3fc1c1b0ae6f0d9997b9f5df94d300b2bed4 >--------------------------------------------------------------- commit 860c3fc1c1b0ae6f0d9997b9f5df94d300b2bed4 Author: Ross Paterson <[email protected]> Date: Sun May 6 15:20:13 2007 +0000 follow change of directory layout of the HackageDB data >--------------------------------------------------------------- .../src/Network/Hackage/CabalInstall/Fetch.hs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/cabal-install/src/Network/Hackage/CabalInstall/Fetch.hs b/cabal-install/src/Network/Hackage/CabalInstall/Fetch.hs index 11a2f13..e2f2f98 100644 --- a/cabal-install/src/Network/Hackage/CabalInstall/Fetch.hs +++ b/cabal-install/src/Network/Hackage/CabalInstall/Fetch.hs @@ -107,6 +107,7 @@ downloadIndex cfg serv packageFile :: ConfigFlags -> PackageIdentifier -> FilePath packageFile cfg pkg = packagesDirectory cfg </> pkgName pkg + </> showVersion (pkgVersion pkg) </> showPackageId pkg <.> "tar.gz" @@ -146,4 +147,4 @@ fetch cfg pkgs output = configOutputGen cfg withBinaryFile :: FilePath -> IOMode -> (Handle -> IO r) -> IO r -withBinaryFile name mode = bracket (openBinaryFile name mode) hClose \ No newline at end of file +withBinaryFile name mode = bracket (openBinaryFile name mode) hClose _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
