summaryrefslogtreecommitdiff
path: root/hadrian/src/Rules/Configure.hs
diff options
context:
space:
mode:
Diffstat (limited to 'hadrian/src/Rules/Configure.hs')
-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