fix build with old ghc
This commit is contained in:
parent
68a376b742
commit
3fadd99016
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
|||
module BuildInfo where
|
||||
|
||||
import Data.List
|
||||
import Data.Ord
|
||||
import qualified Data.CaseInsensitive as CI
|
||||
|
||||
buildFlags :: [String]
|
||||
|
@ -86,7 +87,7 @@ buildFlags = filter (not . null)
|
|||
-- Not a complete list, let alone a listing transitive deps, but only
|
||||
-- the ones that are often interesting to know.
|
||||
dependencyVersions :: [String]
|
||||
dependencyVersions = map fmt $ sortOn (CI.mk . fst)
|
||||
dependencyVersions = map fmt $ sortBy (comparing (CI.mk . fst))
|
||||
[ ("feed", VERSION_feed)
|
||||
, ("uuid", VERSION_uuid)
|
||||
, ("bloomfilter", VERSION_bloomfilter)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue