We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ce2bb3 commit a79b312Copy full SHA for a79b312
hackage.sh
@@ -50,6 +50,8 @@ function hackage_mirror() {
50
echo "Downloading index..."
51
rm index.tar.gz || true
52
curl -s -S --fail -L "${base_url}/01-index.tar.gz" -o index.tar.gz
53
+ rm index-legacy.tar.gz || true
54
+ curl -s -S --fail -L "${base_url}/00-index.tar.gz" -o index-legacy.tar.gz
55
56
# https://hackage.haskell.org/api#security
57
echo "Dowloading security features..."
@@ -106,7 +108,7 @@ function hackage_mirror() {
106
108
done
107
109
110
cp index.tar.gz 01-index.tar.gz
- ln -sf 01-index.tar.gz 00-index.tar.gz
111
+ cp index-legacy.tar.gz 00-index.tar.gz
112
}
113
114
function cleanup () {
0 commit comments