File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
cabal-install/Distribution/Client Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -678,10 +678,14 @@ warnIfNoExes :: Verbosity -> ProjectBuildContext -> IO ()
678
678
warnIfNoExes verbosity buildCtx =
679
679
when noExes $
680
680
warn verbosity $
681
- " You asked to install executables, but there are no executables in "
682
- <> plural (listPlural selectors) " target" " targets" <> " : "
683
- <> intercalate " , " (showTargetSelector <$> selectors) <> " . "
684
- <> " Perhaps you want to use --lib to install libraries instead."
681
+ " \n " <>
682
+ " @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n " <>
683
+ " @ WARNING: Installation might not be completed as desired! @\n " <>
684
+ " @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n " <>
685
+ " Without flags, the command \" cabal install\" doesn't expose" <>
686
+ " libraries in a usable manner. You might have wanted to run" <>
687
+ " \" cabal install --lib " <>
688
+ unwords (showTargetSelector <$> selectors) <> " \" . "
685
689
where
686
690
targets = concat $ Map. elems $ targetsMap buildCtx
687
691
components = fst <$> targets
Original file line number Diff line number Diff line change
1
+ synopsis: Adjust message indicating `--lib` is likely desired
2
+ packages: cabal-install
3
+ issues: #6856
4
+ prs: #6857
You can’t perform that action at this time.
0 commit comments