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

hadrian: Reindent Settings.Warnings

The previous state was quite illegible.
parent bc364f3e
No related branches found
No related tags found
No related merge requests found
...@@ -20,38 +20,39 @@ ghcWarningsArgs = do ...@@ -20,38 +20,39 @@ ghcWarningsArgs = do
isIntegerSimple <- (== integerSimple) <$> getIntegerPackage isIntegerSimple <- (== integerSimple) <$> getIntegerPackage
mconcat mconcat
[ stage0 ? mconcat [ stage0 ? mconcat
[ libraryPackage ? pure [ "-fno-warn-deprecated-flags" ] [ libraryPackage ? pure [ "-fno-warn-deprecated-flags" ]
, package terminfo ? pure [ "-fno-warn-unused-imports" ] , package terminfo ? pure [ "-fno-warn-unused-imports" ]
, package transformers ? pure [ "-fno-warn-unused-matches" , package transformers ? pure [ "-fno-warn-unused-matches"
, "-fno-warn-unused-imports" ] ] , "-fno-warn-unused-imports" ] ]
, notStage0 ? mconcat , notStage0 ? mconcat
[ libraryPackage ? pure [ "-Wno-deprecated-flags" ] [ libraryPackage ? pure [ "-Wno-deprecated-flags" ]
, package base ? pure [ "-Wno-trustworthy-safe" ] , package base ? pure [ "-Wno-trustworthy-safe" ]
, package binary ? pure [ "-Wno-deprecations" ] , package binary ? pure [ "-Wno-deprecations" ]
, package bytestring ? pure [ "-Wno-inline-rule-shadowing" ] , package bytestring ? pure [ "-Wno-inline-rule-shadowing" ]
, package compiler ? pure [ "-Wcpp-undef" ] , package compiler ? pure [ "-Wcpp-undef" ]
, package directory ? pure [ "-Wno-unused-imports" ] , package directory ? pure [ "-Wno-unused-imports" ]
, package ghc ? pure [ "-Wcpp-undef" ] , package ghc ? pure [ "-Wcpp-undef" ]
, package ghcPrim ? pure [ "-Wno-trustworthy-safe" ] , package ghcPrim ? pure [ "-Wno-trustworthy-safe" ]
, package haddock ? pure [ "-Wno-unused-imports" , package haddock ? pure [ "-Wno-unused-imports"
, "-Wno-deprecations" ] , "-Wno-deprecations" ]
, package haskeline ? pure [ "-Wno-deprecations" , package haskeline ? pure [ "-Wno-deprecations"
, "-Wno-unused-imports" , "-Wno-unused-imports"
, "-Wno-redundant-constraints" , "-Wno-redundant-constraints"
, "-Wno-simplifiable-class-constraints" ] , "-Wno-simplifiable-class-constraints" ]
, package pretty ? pure [ "-Wno-unused-imports" ] , package pretty ? pure [ "-Wno-unused-imports" ]
, package primitive ? pure [ "-Wno-unused-imports" , package primitive ? pure [ "-Wno-unused-imports"
, "-Wno-deprecations" ] , "-Wno-deprecations" ]
, package rts ? pure [ "-Wcpp-undef" ] , package rts ? pure [ "-Wcpp-undef" ]
, package terminfo ? pure [ "-Wno-unused-imports" ] , package terminfo ? pure [ "-Wno-unused-imports" ]
, isIntegerSimple ? , isIntegerSimple ?
package text ? pure [ "-Wno-unused-imports" ] package text ? pure [ "-Wno-unused-imports" ]
, package transformers ? pure [ "-Wno-unused-matches" , package transformers ? pure [ "-Wno-unused-matches"
, "-Wno-unused-imports" , "-Wno-unused-imports"
, "-Wno-redundant-constraints" , "-Wno-redundant-constraints"
, "-Wno-orphans" ] , "-Wno-orphans" ]
, package win32 ? pure [ "-Wno-trustworthy-safe" ] , package win32 ? pure [ "-Wno-trustworthy-safe" ]
, package xhtml ? pure [ "-Wno-unused-imports" ] ] , package xhtml ? pure [ "-Wno-unused-imports" ]
]
, mconcat , mconcat
[ package cabal ? pure [ "-Wno-error=deprecations" ] ] [ package cabal ? pure [ "-Wno-error=deprecations" ] ]
] ]
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