aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BuildInfo.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/BuildInfo.hs b/BuildInfo.hs
index 29455f61c..47dacc78b 100644
--- a/BuildInfo.hs
+++ b/BuildInfo.hs
@@ -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)