summaryrefslogtreecommitdiff
path: root/hadrian/src/Base.hs
diff options
context:
space:
mode:
Diffstat (limited to 'hadrian/src/Base.hs')
-rw-r--r--hadrian/src/Base.hs7
1 files changed, 2 insertions, 5 deletions
diff --git a/hadrian/src/Base.hs b/hadrian/src/Base.hs
index 205bd7518f..253a436ea9 100644
--- a/hadrian/src/Base.hs
+++ b/hadrian/src/Base.hs
@@ -21,7 +21,7 @@ module Base (
module Way,
-- * Files
- configH, ghcVersionH,
+ configH,
-- * Paths
hadrianPath, configPath, configFile, sourcePath, shakeFilesDir,
@@ -74,9 +74,6 @@ sourcePath = hadrianPath -/- "src"
configH :: FilePath
configH = "mk/config.h"
-ghcVersionH :: Stage -> Action FilePath
-ghcVersionH stage = stageLibPath stage <&> (-/- "ghcversion.h")
-
-- | The directory in 'buildRoot' containing the Shake database and other
-- auxiliary files generated by Hadrian.
shakeFilesDir :: FilePath
@@ -123,7 +120,7 @@ includesDependencies :: Stage -> Action [FilePath]
includesDependencies stage = do
p <- stageLibPath stage
pure $ (p -/-) <$>
- [ "ghcautoconf.h", "ghcplatform.h", "ghcversion.h" ]
+ [ "ghcautoconf.h", "ghcplatform.h" ]
-- | Files the `haddock` binary depends on
haddockDeps :: Stage -> Action [FilePath]