diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-02-07 14:40:07 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-02-09 03:56:22 -0500 |
commit | a39ed908abd91b7863f8bd9ddfd72bc11535c451 (patch) | |
tree | 53d45f5c8cdaee30d02eec44a6048c2527cc4ec6 /hadrian/src/Rules/Test.hs | |
parent | ef2945254987bb0d68fd366f9d19c71d597ae841 (diff) | |
download | haskell-a39ed908abd91b7863f8bd9ddfd72bc11535c451.tar.gz |
testsuite: Add missing dependency on ghcconfig
Diffstat (limited to 'hadrian/src/Rules/Test.hs')
-rw-r--r-- | hadrian/src/Rules/Test.hs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/hadrian/src/Rules/Test.hs b/hadrian/src/Rules/Test.hs index 8ce3daa70b..fea8a8f7b6 100644 --- a/hadrian/src/Rules/Test.hs +++ b/hadrian/src/Rules/Test.hs @@ -67,7 +67,12 @@ inTreeOutTree inTree outTree = do testsuiteDeps :: Rules () testsuiteDeps = do - "test:ghc" ~> inTreeOutTree (\stg -> needTestsuitePackages stg) (return ()) + root <- buildRootRules + "test:ghc" ~> inTreeOutTree + (\stg -> do + needTestsuitePackages stg + need [(root -/- ghcConfigPath)]) + (return ()) ghcConfigPath :: FilePath ghcConfigPath = "test/ghcconfig" |