summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-01-19 15:04:30 -0500
committerBen Gamari <ben@smart-cactus.org>2020-02-14 10:16:36 -0500
commit0725f4bbc7f59282ee5fe41619099957030d85ff (patch)
tree4fcfac2cdac250ac2d6db89e7343fbac62317119 /hadrian
parent813842f42023457ccb4d93b5906e0f492e4721b2 (diff)
downloadhaskell-0725f4bbc7f59282ee5fe41619099957030d85ff.tar.gz
Rework handling of win32 toolchain tarballs
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/src/Rules/Configure.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/hadrian/src/Rules/Configure.hs b/hadrian/src/Rules/Configure.hs
index 931801be5d..f904475ddf 100644
--- a/hadrian/src/Rules/Configure.hs
+++ b/hadrian/src/Rules/Configure.hs
@@ -33,7 +33,8 @@ configureRules = do
-- We cannot use windowsHost here due to a cyclic dependency.
when windowsHost $ do
putBuild "| Checking for Windows tarballs..."
- quietly $ cmd ["bash", "mk/get-win32-tarballs.sh", "download", System.arch]
+ pythonPath <- builderPath Python
+ quietly $ cmd [pythonPath, "mk/get-win32-tarballs.py", "download", System.arch]
let srcs = map (<.> "in") outs
context = vanillaContext Stage0 compiler
need srcs