mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-18 23:21:55 +01:00
Don't recompress gz files
This commit is contained in:
parent
2011967b08
commit
d299e1eef8
@ -115,6 +115,7 @@ createHaddockUnpacker root store = do
|
|||||||
gzipHash ident = do
|
gzipHash ident = do
|
||||||
createTree cachedir
|
createTree cachedir
|
||||||
runResourceT $ sourceDirectoryDeep False dir
|
runResourceT $ sourceDirectoryDeep False dir
|
||||||
|
$= filterC (not . flip hasExtension "gz")
|
||||||
$$ mapM_C (liftIO . handle (print . asIOException) . oneFile)
|
$$ mapM_C (liftIO . handle (print . asIOException) . oneFile)
|
||||||
where
|
where
|
||||||
dir = mkDir ident
|
dir = mkDir ident
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user