Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
alt-romes committed Jan 17, 2024
1 parent 91b020b commit 5f00e30
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Cabal/src/Distribution/Simple/GHC/Build.hs
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,13 @@ build numJobs pkg_descr = do
-- See also Note [Building Haskell Modules accounting for TH] in Distribution.Simple.GHC.Build.Modules
wantedWays =
Set.fromList $
[StaticWay | wantStatic || wantVanilla ||
-- We build static by default if no other way is wanted
not (wantDynamic || wantProf)]
[ StaticWay
| wantStatic
|| wantVanilla
||
-- We build static by default if no other way is wanted
not (wantDynamic || wantProf)
]
<> [DynWay | wantDynamic]
<> [ProfWay | wantProf]

Expand Down

0 comments on commit 5f00e30

Please sign in to comment.