aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src
diff options
context:
space:
mode:
authorNorman Ramsey <nr@cs.tufts.edu>2022-04-07 11:33:10 -0400
committerNorman Ramsey <Norman.Ramsey@tweag.io>2022-05-04 15:13:34 -0400
commit852d097c27271dba90e3c5faed4343104eb34ca2 (patch)
tree06f4312ac2c2904c5485ce577afa4dcfaa872142 /haddock-api/src
parentc71c1b0df43361aef9f40eff58fb1f30488a6c58 (diff)
update for changes in GHC API
Diffstat (limited to 'haddock-api/src')
-rw-r--r--haddock-api/src/Haddock.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock.hs b/haddock-api/src/Haddock.hs
index 942798eb..4a655f64 100644
--- a/haddock-api/src/Haddock.hs
+++ b/haddock-api/src/Haddock.hs
@@ -542,7 +542,7 @@ withGhc' libDir needHieFiles flags ghcActs = runGhc (Just libDir) $ do
let extra_opts | needHieFiles = [Opt_WriteHie, Opt_Haddock]
| otherwise = [Opt_Haddock]
dynflags' = (foldl' gopt_set dynflags extra_opts)
- { backend = NoBackend
+ { backend = noBackend
, ghcMode = CompManager
, ghcLink = NoLink
}