From 15398915f8cdc61fbbdcc985fa6570a9161a8bdf Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Tue, 23 Jun 2015 11:19:10 +0300 Subject: [PATCH] Put stackage snapshots JSON on S3 #380 --- ChangeLog.md | 1 + src/Stack/Config.hs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog.md b/ChangeLog.md index 9a897d229d..1d8b606b6b 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,6 +1,7 @@ ## Unreleased * Remove GHC uncompressed tar file after installation [#376](https://github.com/commercialhaskell/stack/issues/376) +* Put stackage snapshots JSON on S3 [#380](https://github.com/commercialhaskell/stack/issues/380) ## 0.1.0.0 diff --git a/src/Stack/Config.hs b/src/Stack/Config.hs index 8981270669..f7b83a8471 100644 --- a/src/Stack/Config.hs +++ b/src/Stack/Config.hs @@ -98,7 +98,7 @@ configFromConfigMonoid configStackRoot mproject ConfigMonoid{..} = do configConnectionCount = fromMaybe 8 configMonoidConnectionCount configHideTHLoading = fromMaybe True configMonoidHideTHLoading configLatestSnapshotUrl = fromMaybe - "https://www.stackage.org/download/snapshots.json" + "https://s3.amazonaws.com/haddock.stackage.org/snapshots.json" configMonoidLatestSnapshotUrl configPackageIndices = fromMaybe [PackageIndex