Commit eddf06ec authored by Matt Renaud's avatar Matt Renaud
Browse files

Default to cabal version 2.4 when running cabal init.

Cabal version 2.4 is over 2 years old at this point and has numerous additions
compared to the current default 1.10.
parent 5392ac8c
......@@ -850,7 +850,7 @@ commentSavedConfig = do
},
savedInitFlags = mempty {
IT.interactive = toFlag False,
IT.cabalVersion = toFlag (mkVersion [1,10]),
IT.cabalVersion = toFlag (mkVersion [2,4]),
IT.language = toFlag Haskell2010,
IT.license = toFlag BSD3,
IT.sourceDirs = Nothing,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment