Switch to FP Complete Hackage mirror

This commit is contained in:
Michael Snoyman 2014-09-28 07:42:44 +03:00
parent a18f6a0317
commit 493c612cbd
2 changed files with 2 additions and 6 deletions

View File

@ -169,11 +169,7 @@ sourceHackageSdist name version = do
HackageRoot root <- liftM getHackageRoot ask HackageRoot root <- liftM getHackageRoot ask
let url = concat let url = concat
[ root [ root
, "/" , "/package/"
, toPathPiece name
, "/"
, toPathPiece version
, "/"
, toPathPiece name , toPathPiece name
, "-" , "-"
, toPathPiece version , toPathPiece version

View File

@ -2,7 +2,7 @@ Default: &defaults
host: "*4" # any IPv4 host host: "*4" # any IPv4 host
port: 3000 port: 3000
approot: "http://localhost:3000" approot: "http://localhost:3000"
hackage-root: http://hackage.haskell.org/packages/archive hackage-root: http://hackage.fpcomplete.com
Development: Development:
<<: *defaults <<: *defaults