From 514b66cfd1076e9c4cdc4003f88000e2e2aa2749 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Vion?= Date: Tue, 24 Nov 2015 23:38:51 +0100 Subject: [PATCH] actually fixes #1410 --- src/Stack/Build/Execute.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stack/Build/Execute.hs b/src/Stack/Build/Execute.hs index 4516754d43..51bf6a808d 100644 --- a/src/Stack/Build/Execute.hs +++ b/src/Stack/Build/Execute.hs @@ -273,7 +273,7 @@ getSetupExe setupHs tmpdir = do , toFilePath tmpOutputPath ] ++ ["-build-runner" | wc == Ghcjs] - runCmd (CMD (Just tmpdir) (compilerExeName wc) menv args) Nothing + runCmd' (\cp -> cp { std_out = UseHandle stderr }) (CMD (Just tmpdir) (compilerExeName wc) menv args) Nothing when (wc == Ghcjs) $ renameDir tmpJsExePath jsExePath renameFile tmpExePath exePath return $ Just exePath