mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-02-07 08:37:28 +01:00
Updated raw bundle URL
This commit is contained in:
parent
4ec9caab59
commit
d6ccfc04b9
@ -65,10 +65,16 @@ download :: HttpM env m
|
|||||||
-> m ()
|
-> m ()
|
||||||
download ltsVer dest = do
|
download ltsVer dest = do
|
||||||
req <- parseUrl $ unpack $ concat
|
req <- parseUrl $ unpack $ concat
|
||||||
|
{-
|
||||||
[ "https://raw.githubusercontent.com/fpco/lts-haskell/master/lts-"
|
[ "https://raw.githubusercontent.com/fpco/lts-haskell/master/lts-"
|
||||||
, ltsVer
|
, ltsVer
|
||||||
, ".yaml"
|
, ".yaml"
|
||||||
]
|
]
|
||||||
|
-}
|
||||||
|
[ "https://cdn.rawgit.com/fpco/lts-haskell/master/lts-"
|
||||||
|
, ltsVer
|
||||||
|
, "1.14.yaml"
|
||||||
|
]
|
||||||
withResponse req $ \res -> liftIO $ F.withFile dest F.WriteMode $ \h ->
|
withResponse req $ \res -> liftIO $ F.withFile dest F.WriteMode $ \h ->
|
||||||
responseBody res $$ sinkHandle h
|
responseBody res $$ sinkHandle h
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user