summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-02-28 10:47:54 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-03-22 22:37:47 -0400
commit8dd2415dd2f423688f33a8fb267857e3ff39754d (patch)
tree40f1556242895456bb5cccdad6b7a6723353d514
parent58f62e2caa19e13082807da1d49f94e9cf869322 (diff)
downloadhaskell-8dd2415dd2f423688f33a8fb267857e3ff39754d.tar.gz
hadrian: Eliminate redundant .exe from GHC path
Previously we were invoking: bash -c "c:/GitLabRunner/builds/eEQrxK4p/0/ghc/ghc/toolchain/bin/ghc.exe.exe testsuite/mk/ghc-config.hs -o _build/test/bin/ghc-config.exe"
-rw-r--r--hadrian/src/Rules/Test.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/src/Rules/Test.hs b/hadrian/src/Rules/Test.hs
index 82a37ebe41..594651191c 100644
--- a/hadrian/src/Rules/Test.hs
+++ b/hadrian/src/Rules/Test.hs
@@ -48,7 +48,7 @@ testRules = do
-- Using program shipped with testsuite to generate ghcconfig file.
root -/- ghcConfigProgPath %> \_ -> do
- ghc0Path <- (<.> exe) <$> getCompilerPath "stage0"
+ ghc0Path <- getCompilerPath "stage0"
-- Invoke via bash to work around #17362.
-- Reasons why this is required are not entirely clear.
cmd ["bash"] ["-c", ghc0Path ++ " " ++ ghcConfigHsPath ++ " -o " ++ (root -/- ghcConfigProgPath)]