Skip to content
Snippets Groups Projects
Commit cd2fa137 authored by Oleg Grenrus's avatar Oleg Grenrus
Browse files

WIP: require cabal-versions >=1.25 to be exact (needs Quirks)

parent 613a2a25
No related tags found
No related merge requests found
......@@ -67,10 +67,10 @@ cabalSpecLatest = CabalSpecV3_0
cabalSpecFromVersionDigits :: [Int] -> Maybe CabalSpecVersion
cabalSpecFromVersionDigits v
| v == [3,0] = Just CabalSpecV3_0
| v >= [3] = Nothing
| v >= [2,3] = Just CabalSpecV2_4
| v >= [2,1] = Just CabalSpecV2_2
| v >= [1,25] = Just CabalSpecV2_0
| v == [2,4] = Just CabalSpecV2_4
| v == [2,2] = Just CabalSpecV2_2
| v == [2,0] = Just CabalSpecV2_0
| v >= [1,25] = Nothing
| v >= [1,23] = Just CabalSpecV1_24
| v >= [1,21] = Just CabalSpecV1_22
| v >= [1,19] = Just CabalSpecV1_20
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment