Commit b3017e2f authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Rule for flags_1_20_0 never fired.

(cherry picked from commit fdae633c)
parent e9fb0ffb
...@@ -370,7 +370,8 @@ configureOptions = commandOptions configureCommand ...@@ -370,7 +370,8 @@ configureOptions = commandOptions configureCommand
filterConfigureFlags :: ConfigFlags -> Version -> ConfigFlags filterConfigureFlags :: ConfigFlags -> Version -> ConfigFlags
filterConfigureFlags flags cabalLibVersion filterConfigureFlags flags cabalLibVersion
| cabalLibVersion >= Version [1,19,2] [] = flags_latest | cabalLibVersion >= Version [1,21,1] [] = flags_latest
-- ^ NB: we expect the latest version to be the most common case.
| cabalLibVersion < Version [1,3,10] [] = flags_1_3_10 | cabalLibVersion < Version [1,3,10] [] = flags_1_3_10
| cabalLibVersion < Version [1,10,0] [] = flags_1_10_0 | cabalLibVersion < Version [1,10,0] [] = flags_1_10_0
| cabalLibVersion < Version [1,14,0] [] = flags_1_14_0 | cabalLibVersion < Version [1,14,0] [] = flags_1_14_0
......
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