summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-02-28 10:47:54 -0500
committerBen Gamari <ben@smart-cactus.org>2020-03-20 16:28:00 -0400
commit6e600a1ff836501a5d931bbf291bcb2a6a09d6dc (patch)
tree39dd979e60fa9d7f43a03d5feba2c90244635162
parentd9aa74ac7d1325cb79500227b909cb79768f4e22 (diff)
downloadhaskell-6e600a1ff836501a5d931bbf291bcb2a6a09d6dc.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)]