Skip to content

Commit

Permalink
Fix cabal init should not suggest Cabal < 2.0 (#8700)
Browse files Browse the repository at this point in the history
* Fix cabal init should not suggest Cabal < 2.0

* Remove + symbol cabal-version 2.0
  • Loading branch information
BasLaa authored Jan 29, 2023
1 parent 14727bc commit acbc0f3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,7 @@ cabalVersionPrompt flags = getCabalVersion flags $ do

displayCabalVersion :: CabalSpecVersion -> String
displayCabalVersion v = case v of
CabalSpecV1_24 -> "1.24 (legacy)"
CabalSpecV2_0 -> "2.0 (+ support for Backpack, internal sub-libs, '^>=' operator)"
CabalSpecV2_0 -> "2.0 (support for Backpack, internal sub-libs, '^>=' operator)"
CabalSpecV2_2 -> "2.2 (+ support for 'common', 'elif', redundant commas, SPDX)"
CabalSpecV2_4 -> "2.4 (+ support for '**' globbing)"
CabalSpecV3_0 -> "3.0 (+ set notation for ==, common stanzas in ifs, more redundant commas, better pkgconfig-depends)"
Expand Down
9 changes: 9 additions & 0 deletions changelog.d/issue-8680
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
synopsis: cabal init should not suggest Cabal < 2.0
packages: Cabal
issues: #8680

description: {

'cabal init' no longer suggests users to set cabal-version to less than 2.0

}

0 comments on commit acbc0f3

Please sign in to comment.