Commit b1dd5e91 authored by Alp Mestanogullari's avatar Alp Mestanogullari Committed by Oleg Grenrus

fix predicate for extra-dynamic-library-flavour's check

parent 2e219b8a
......@@ -1277,7 +1277,7 @@ checkCabalVersion pkg =
++ " and 'extra-library-flavours' requires the package "
++ " to specify at least 'cabal-version: >= 2.1'."
, checkVersion [2,5] (not . null $ buildInfoField extraDynLibFlavours) $
, checkVersion [2,5] (any (not . null) $ buildInfoField extraDynLibFlavours) $
PackageDistInexcusable $
"The use of 'extra-dynamic-library-flavours' requires the package "
++ " to specify at least 'cabal-version: >= 2.5'. The flavours are: "
......
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