Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
b1dd5e91
Commit
b1dd5e91
authored
Nov 09, 2018
by
Alp Mestanogullari
Committed by
Oleg Grenrus
Nov 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix predicate for extra-dynamic-library-flavour's check
parent
2e219b8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Cabal/Distribution/PackageDescription/Check.hs
Cabal/Distribution/PackageDescription/Check.hs
+1
-1
No files found.
Cabal/Distribution/PackageDescription/Check.hs
View file @
b1dd5e91
...
@@ -1277,7 +1277,7 @@ checkCabalVersion pkg =
...
@@ -1277,7 +1277,7 @@ checkCabalVersion pkg =
++
" and 'extra-library-flavours' requires the package "
++
" and 'extra-library-flavours' requires the package "
++
" to specify at least 'cabal-version: >= 2.1'."
++
" to specify at least 'cabal-version: >= 2.1'."
,
checkVersion
[
2
,
5
]
(
not
.
null
$
buildInfoField
extraDynLibFlavours
)
$
,
checkVersion
[
2
,
5
]
(
any
(
not
.
null
)
$
buildInfoField
extraDynLibFlavours
)
$
PackageDistInexcusable
$
PackageDistInexcusable
$
"The use of 'extra-dynamic-library-flavours' requires the package "
"The use of 'extra-dynamic-library-flavours' requires the package "
++
" to specify at least 'cabal-version: >= 2.5'. The flavours are: "
++
" to specify at least 'cabal-version: >= 2.5'. The flavours are: "
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment