diff options
Diffstat (limited to 'hadrian/src/Settings/Builders/Cabal.hs')
-rw-r--r-- | hadrian/src/Settings/Builders/Cabal.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hadrian/src/Settings/Builders/Cabal.hs b/hadrian/src/Settings/Builders/Cabal.hs index e3361d3fe9..e38eba1cf0 100644 --- a/hadrian/src/Settings/Builders/Cabal.hs +++ b/hadrian/src/Settings/Builders/Cabal.hs @@ -129,7 +129,8 @@ configureArgs = do , conf "--with-curses-libraries" $ arg =<< getSetting CursesLibDir , conf "--host" $ arg =<< getSetting TargetPlatformFull , conf "--with-cc" $ arg =<< getBuilderPath . (Cc CompileC) =<< getStage - , notStage0 ? (arg =<< ("--ghc-option=-ghcversion-file=" ++) <$> expr ((-/-) <$> topDirectory <*> ghcVersionH stage))] + , notStage0 ? arg "--ghc-option=-ghcversion-file=rts/include/ghcversion.h" + ] bootPackageConstraints :: Args bootPackageConstraints = stage0 ? do |