From 275122d9fefd24afa08271a758d8ed5353f9c016 Mon Sep 17 00:00:00 2001 From: Chawye Hsu Date: Sun, 17 Feb 2019 02:20:43 +0800 Subject: [PATCH] haskell: add 32bit (#3131) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jakub Čábera --- haskell.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/haskell.json b/haskell.json index 28eaf3abc0..440c02ee56 100644 --- a/haskell.json +++ b/haskell.json @@ -5,6 +5,10 @@ "64bit": { "url": "https://haskell.org/platform/download/8.6.3/HaskellPlatform-8.6.3-core-x86_64-setup.exe", "hash": "d94df2008a96a12957d27e4a99bbee38bd84f096a9474ede20126c73c89c1304" + }, + "32bit": { + "url": "https://haskell.org/platform/download/8.6.3/HaskellPlatform-8.6.3-core-i386-setup.exe", + "hash": "e7ced4ec8aaee98cb49fd8e1d7dbd3f63fb148fec354e1bd7998a5e4e622f6b9" } }, "installer": { @@ -36,7 +40,18 @@ "autoupdate": { "architecture": { "64bit": { - "url": "https://haskell.org/platform/download/$version/HaskellPlatform-$version-core-x86_64-setup.exe" + "url": "https://haskell.org/platform/download/$version/HaskellPlatform-$version-core-x86_64-setup.exe", + "hash": { + "url": "https://www.haskell.org/platform/windows.html", + "regex": "(?sm)Start Menu.*64 bit Core:
($sha256).*32 bit Core" + } + }, + "32bit": { + "url": "https://haskell.org/platform/download/$version/HaskellPlatform-$version-core-i386-setup.exe", + "hash": { + "url": "https://www.haskell.org/platform/windows.html", + "regex": "32 bit Core:
($sha256)" + } } } }