Skip to content

Commit

Permalink
Change 'optional-packages' default on missing cabal.project
Browse files Browse the repository at this point in the history
Fixes #6739
  • Loading branch information
hasufell committed Apr 25, 2020
1 parent b89a1c6 commit ec88484
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cabal-install/Distribution/Client/ProjectConfig.hs
Original file line number Diff line number Diff line change
Expand Up @@ -544,9 +544,6 @@ 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" ],

projectConfigProvenance = Set.singleton Implicit
}

Expand Down
3 changes: 3 additions & 0 deletions changelog.d/issue-6739
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
synopsis: Change 'optional-packages' default to empty, when cabal.project is mising.
issues: #6739
prs: #6740

0 comments on commit ec88484

Please sign in to comment.