Skip to content

Commit

Permalink
Change 'optional-packages' default on missing cabal.project
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Apr 25, 2020
1 parent b89a1c6 commit e300cc8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cabal-install/Distribution/Client/ProjectConfig.hs
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,9 @@ readProjectLocalConfigOrDefault verbosity distDirLayout = do
-- We expect a package in the current directory.
projectPackages = [ "./*.cabal" ],

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

projectConfigProvenance = Set.singleton Implicit
}
Expand Down

0 comments on commit e300cc8

Please sign in to comment.