Skip to content

Commit

Permalink
Tell users about cabal.project.local~
Browse files Browse the repository at this point in the history
  • Loading branch information
lukel97 committed Jun 5, 2020
1 parent 07c1a43 commit 36991d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cabal-install/Distribution/Client/CmdConfigure.hs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ configureAction flags@NixStyleFlags {..} _extraArgs globalFlags = do
-- before overwriting
exists <- doesFileExist "cabal.project.local"
when exists $ do
notice verbosity "'cabal.project.local' file already exists. Now overwriting it."
notice verbosity "'cabal.project.local' already exists, copying it to 'cabal.project.local~'."
copyFile "cabal.project.local" "cabal.project.local~"
writeProjectLocalExtraConfig (distDirLayout baseCtx)
cliConfig
Expand Down

0 comments on commit 36991d0

Please sign in to comment.