Commit 2831544a authored by Adam Sandberg Eriksson's avatar Adam Sandberg Eriksson 🐈 Committed by Marge Bot

hadrian: docs depend on stage1 ghc

parent 853210f2
......@@ -135,7 +135,9 @@ checkSphinxWarnings out = do
checkUserGuideFlags :: FilePath -> Action ()
checkUserGuideFlags documentedFlagList = do
scriptPath <- (</> "docs/users_guide/compare-flags.py") <$> topDirectory
ghcPath <- (</>) <$> topDirectory <*> programPath (vanillaContext Stage1 ghc)
ghc <- programPath (vanillaContext Stage1 ghc)
need [ghc]
ghcPath <- (</>) <$> topDirectory <*> pure ghc
runBuilder Python
[ scriptPath
, "--doc-flags", documentedFlagList
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment