Skip to content

Commit e300cc8

Browse files
committed
Change 'optional-packages' default on missing cabal.project
Fixes #6739
1 parent b89a1c6 commit e300cc8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cabal-install/Distribution/Client/ProjectConfig.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,8 +544,9 @@ readProjectLocalConfigOrDefault verbosity distDirLayout = do
544544
-- We expect a package in the current directory.
545545
projectPackages = [ "./*.cabal" ],
546546

547-
-- This is to automatically pick up deps that we unpack locally.
548-
projectPackagesOptional = [ "./*/*.cabal" ],
547+
-- This was [ "./*/*.cabal" ] previously, but
548+
-- confused users: https://github.com/haskell/cabal/issues/6739
549+
projectPackagesOptional = [ ],
549550

550551
projectConfigProvenance = Set.singleton Implicit
551552
}

0 commit comments

Comments
 (0)