Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions cabal-install/src/Distribution/Client/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -418,14 +418,17 @@ mainWorker args = do
putStrLn $
"cabal-install version "
++ display cabalInstallVersion
++ cabalInstallGitInfo
++ cabalInstallGitInfo'
++ "\ncompiled using version "
++ display cabalVersion
++ " of the Cabal library "
++ cabalGitInfo'
where
cabalInstallGitInfo'
| null cabalInstallGitInfo = ""
| otherwise = ' ' : cabalInstallGitInfo
cabalGitInfo'
| cabalGitInfo == "" && cabalInstallGitInfo == "" = ""
| null cabalGitInfo && null cabalInstallGitInfo = ""
| cabalGitInfo == cabalInstallGitInfo = "(in-tree)"
| otherwise = cabalGitInfo

Expand Down
3 changes: 3 additions & 0 deletions cabal.validate.project
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ program-options
-- the result of the legacy and parsec parser and fail if they are not equal.
package cabal-install
flags: +git-rev +legacy-comparison

package Cabal
flags: +git-rev
Loading