We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c75915e commit 4159ec0Copy full SHA for 4159ec0
src/Stack/Build/Execute.hs
@@ -769,8 +769,7 @@ singleBuild ac@ActionContext {..} ee@ExecuteEnv {..} task@Task {..} =
769
cabal (console && configHideTHLoading config) $
770
(case taskType of
771
TTLocal lp -> "build"
772
- -- Cabal... There doesn't seem to be a way to call out the library component...
773
- -- : "lib"
+ : ("lib:" ++ packageNameString (packageName package))
774
: map (T.unpack . T.append "exe:")
775
(maybe [] Set.toList $ lpExeComponents lp)
776
TTUpstream _ _ -> ["build"]) ++ extraOpts
0 commit comments