aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/haskell/haskellrunconfiguration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/haskell/haskellrunconfiguration.cpp b/plugins/haskell/haskellrunconfiguration.cpp
index 9281914..98a8317 100644
--- a/plugins/haskell/haskellrunconfiguration.cpp
+++ b/plugins/haskell/haskellrunconfiguration.cpp
@@ -45,6 +45,7 @@ HaskellRunConfigurationFactory::HaskellRunConfigurationFactory()
registerRunConfiguration<HaskellRunConfiguration>("Haskell.RunConfiguration");
addSupportedProjectType(Constants::C_HASKELL_PROJECT_ID);
addSupportedTargetDeviceType(ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE);
+ addRunWorkerFactory<SimpleTargetRunner>(ProjectExplorer::Constants::NORMAL_RUN_MODE);
}
HaskellExecutableAspect::HaskellExecutableAspect(RunConfiguration *rc)
@@ -102,7 +103,6 @@ Runnable HaskellRunConfiguration::runnable() const
if (!argumentsAspect->arguments().isEmpty())
r.commandLineArguments += " -- " + argumentsAspect->arguments();
r.workingDirectory = projectDirectory;
- r.runMode = extraAspect<TerminalAspect>()->runMode();
r.environment = extraAspect<LocalEnvironmentAspect>()->environment();
r.executable = r.environment.searchInPath(HaskellManager::stackExecutable().toString()).toString();
return r;