Don't recompress gz files

This commit is contained in:
Michael Snoyman 2014-10-23 15:16:33 +03:00
parent 2011967b08
commit d299e1eef8

View File

@ -115,6 +115,7 @@ createHaddockUnpacker root store = do
gzipHash ident = do
createTree cachedir
runResourceT $ sourceDirectoryDeep False dir
$= filterC (not . flip hasExtension "gz")
$$ mapM_C (liftIO . handle (print . asIOException) . oneFile)
where
dir = mkDir ident