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.
2 parents 65522af + 4e6128b commit b3c7982Copy full SHA for b3c7982
cabal-install/Distribution/Client/ProjectOrchestration.hs
@@ -222,6 +222,10 @@ establishProjectBaseContext verbosity cliConfig currentCommand = do
222
verbosity cabalDirLayout
223
projectConfig
224
225
+ -- https://github.com/haskell/cabal/issues/6013
226
+ when (null (projectPackages projectConfig) && null (projectPackagesOptional projectConfig)) $
227
+ warn verbosity "There are no packages or optional-packages in the project"
228
+
229
return ProjectBaseContext {
230
distDirLayout,
231
cabalDirLayout,
0 commit comments