summaryrefslogtreecommitdiff
path: root/Coolbal/Target
diff options
context:
space:
mode:
Diffstat (limited to 'Coolbal/Target')
-rw-r--r--Coolbal/Target/Executable.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Coolbal/Target/Executable.hs b/Coolbal/Target/Executable.hs
index 6358ab7..725b057 100644
--- a/Coolbal/Target/Executable.hs
+++ b/Coolbal/Target/Executable.hs
@@ -28,10 +28,11 @@ makeExeTarget exe plan
, Just language <- defaultLanguage bi
, True <- language `elem` knownLanguages
, Just flags <- lookup GHC (perCompilerFlavorToList (options bi))
+ , Just deps <- ppDepends planpkg
= Just (ExeTarget
{ exeTargetName = unUnqualComponentName (exeName exe)
, exeTargetPkgDbDir = currentHomeDirectory ++ "/.cabal/store/" ++ planCompiler plan ++ "/package.db"
- , exeTargetDeps = ppDepends planpkg
+ , exeTargetDeps = deps
, exeTargetLanguage = show language
, exeTargetMain = modulePath exe
, exeTargetSrcDirs = hsSourceDirs bi