Commit d9cce7f3 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

80-col violation.

parent 839ddab4
...@@ -888,10 +888,11 @@ buildExe verbosity _pkg_descr lbi ...@@ -888,10 +888,11 @@ buildExe verbosity _pkg_descr lbi
cObjs = map (`replaceExtension` objExtension) cSrcs cObjs = map (`replaceExtension` objExtension) cSrcs
baseOpts = (componentGhcOptions verbosity lbi exeBi clbi exeDir) baseOpts = (componentGhcOptions verbosity lbi exeBi clbi exeDir)
`mappend` mempty { `mappend` mempty {
ghcOptMode = toFlag GhcModeMake, ghcOptMode = toFlag GhcModeMake,
ghcOptInputFiles = [ srcMainFile | isHaskellMain], ghcOptInputFiles =
ghcOptInputModules = [ m | not isHaskellMain [ srcMainFile | isHaskellMain],
, m <- exeModules exe] ghcOptInputModules =
[ m | not isHaskellMain, m <- exeModules exe]
} }
staticOpts = baseOpts `mappend` mempty { staticOpts = baseOpts `mappend` mempty {
ghcOptDynamic = toFlag False ghcOptDynamic = toFlag False
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment