Turn off the all-cabal-* mirror checks

This commit is contained in:
Michael Snoyman 2020-04-05 15:18:16 +03:00
parent 25dcc40e70
commit d724878c2c
No known key found for this signature in database
GPG Key ID: 907EAE2F42B52046
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,5 @@ set -ex
cd "$(dirname "${BASH_SOURCE[0]}")/../.."
mkdir -p etc/docker/_artifacts
export LANG=C.UTF-8
stack build Cabal # Memory
stack install --local-bin-path=etc/docker/_artifacts "$@"
rsync -av --delete config static etc/docker/_artifacts/

View File

@ -38,10 +38,13 @@ mkUpdateMirrorStatus = mkAutoUpdate defaultUpdateSettings
goHT hackageTime = do
gitMods <- mapM (\(x, y, z) -> getLastModifiedGit x y z)
[]
{- FIXME unreliable, and 00-index catches this anyway
[ ("commercialhaskell", "all-cabal-files", "current-hackage")
, ("commercialhaskell", "all-cabal-hashes", "current-hackage")
, ("commercialhaskell", "all-cabal-metadata", "master")
]
-}
tarballMods <- mapM getLastModifiedHTTP
[ "http://hackage.fpcomplete.com/00-index.tar.gz"
, "http://hackage.fpcomplete.com/01-index.tar.gz"