Skip to content
Snippets Groups Projects
Commit 860c3fc1 authored by Ross Paterson's avatar Ross Paterson
Browse files

follow change of directory layout of the HackageDB data

parent f5ce9b62
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment