mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-02-21 23:27:53 +01:00
Switch to FP Complete Hackage mirror
This commit is contained in:
parent
a18f6a0317
commit
493c612cbd
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user