diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-10-13 13:12:36 -0400 |
---|---|---|
committer | Ben Gamari <ben@well-typed.com> | 2019-10-24 16:39:41 -0400 |
commit | fd62a76ea4c4d03dec5f2a1ce3021d222918508a (patch) | |
tree | 22fd55746ca9225d89d9004d8d82771d62836d5a | |
parent | 6824f29aebd28571db118eb6877ef04eda630871 (diff) | |
download | haskell-fd62a76ea4c4d03dec5f2a1ce3021d222918508a.tar.gz |
hadrian: Fix typo in docs/users_guide
Reported by @alanz. It's not yet clear why this passed validation.
-rw-r--r-- | hadrian/src/Rules/Documentation.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/src/Rules/Documentation.hs b/hadrian/src/Rules/Documentation.hs index 28740fb936..4fe0d9e0fb 100644 --- a/hadrian/src/Rules/Documentation.hs +++ b/hadrian/src/Rules/Documentation.hs @@ -133,7 +133,7 @@ checkSphinxWarnings out = do -- | Check that all GHC flags are documented in the users guide. checkUserGuideFlags :: FilePath -> Action () checkUserGuideFlags documentedFlagList = do - scriptPath <- (</> "docs/user_guide/compare-flags.py") <$> topDirectory + scriptPath <- (</> "docs/users_guide/compare-flags.py") <$> topDirectory ghcPath <- (</>) <$> topDirectory <*> programPath (vanillaContext Stage1 ghc) runBuilder Python [ scriptPath |