Skip to content
Snippets Groups Projects
Commit bc364f3e authored by Ben Gamari's avatar Ben Gamari
Browse files

Disable deprecation warnings in Cabal build

parent 572f9c8f
No related branches found
No related tags found
No related merge requests found
......@@ -51,4 +51,7 @@ ghcWarningsArgs = do
, "-Wno-redundant-constraints"
, "-Wno-orphans" ]
, package win32 ? pure [ "-Wno-trustworthy-safe" ]
, package xhtml ? pure [ "-Wno-unused-imports" ] ] ]
, package xhtml ? pure [ "-Wno-unused-imports" ] ]
, mconcat
[ package cabal ? pure [ "-Wno-error=deprecations" ] ]
]
......@@ -80,6 +80,8 @@ libraries/haskeline_dist-install_EXTRA_HC_OPTS += -Wno-unused-imports
libraries/haskeline_dist-install_EXTRA_HC_OPTS += -Wno-redundant-constraints
libraries/haskeline_dist-install_EXTRA_HC_OPTS += -Wno-simplifiable-class-constraints
# Due to deprecation warning
libraries/Cabal/Cabal_dist-install_EXTRA_HC_OPTS += -Wno-deprecations
# temporarily turn off unused-imports warnings for pretty
libraries/pretty_dist-install_EXTRA_HC_OPTS += -Wno-unused-imports
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment