diff options
author | hjk <[email protected]> | 2023-05-15 15:15:17 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2023-05-16 11:19:14 +0000 |
commit | 22fa5f2d3a600f9932a3abc3c71a72cd45c7f3ee (patch) | |
tree | a0846f8fec399cbbc65021176af2623637c114a0 /src/plugins/haskell/stackbuildstep.cpp | |
parent | 21cb45e665c2247cdc7abe6c9e002c0900842098 (diff) |
Haskell: More compact settings/manager setup
Use PagedSettings, move related parts Manager interface there, too.
Change-Id: I079dad8bbbea39d2424a25867b08c34ab0234ad5
Reviewed-by: Christian Stenger <[email protected]>
Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/plugins/haskell/stackbuildstep.cpp')
-rw-r--r-- | src/plugins/haskell/stackbuildstep.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/haskell/stackbuildstep.cpp b/src/plugins/haskell/stackbuildstep.cpp index 084ba8af4a7..860ef458c5f 100644 --- a/src/plugins/haskell/stackbuildstep.cpp +++ b/src/plugins/haskell/stackbuildstep.cpp @@ -4,7 +4,7 @@ #include "stackbuildstep.h" #include "haskellconstants.h" -#include "haskellmanager.h" +#include "haskellsettings.h" #include "haskelltr.h" #include <projectexplorer/buildconfiguration.h> @@ -38,7 +38,7 @@ bool StackBuildStep::init() if (AbstractProcessStep::init()) { const auto projectDir = QDir(project()->projectDirectory().toString()); processParameters()->setCommandLine( - {HaskellManager::stackExecutable(), + {settings().stackPath.filePath(), {"build", "--work-dir", projectDir.relativeFilePath(buildDirectory().toString())}}); processParameters()->setEnvironment(buildEnvironment()); } |