Removed compiler version from command which build Haskell tools.

This commit is contained in:
Rik van der Kleij 2019-04-12 14:06:48 +02:00
parent 3f69459ccc
commit 3ebce1157b

View File

@ -72,7 +72,7 @@ object StackCommandLine {
} else {
Seq("--system-ghc")
}
val arguments = systemGhcOption ++ Seq("-j1", "--stack-root", toolsStackRootPath.getPath, "--resolver", StackageLtsVersion, "--compiler", "ghc-8.6.4", "--local-bin-path", toolsBinPath.getPath, "install", toolName)
val arguments = systemGhcOption ++ Seq("-j1", "--stack-root", toolsStackRootPath.getPath, "--resolver", StackageLtsVersion, "--local-bin-path", toolsBinPath.getPath, "install", toolName)
val processOutput = run(project, arguments, -1, logOutput = true, notifyBalloonError = true, workDir = Some(VfsUtil.getUserHomeDir.getPath), enableExtraArguments = false)
processOutput.exists(o => o.getExitCode == 0 && !o.isTimeout)
}