summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-02-07 14:40:07 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2022-02-08 11:50:12 +0000
commita63a09b3213c960d2e1926e54af96dab461fba00 (patch)
treeeab9807bac82eb79c71053121529922eff3e2910
parent0a7519649740600a5d1c59c817395aff27fbca39 (diff)
downloadhaskell-wip/libidr-absolute.tar.gz
testsuite: Add missing dependency on ghcconfigwip/libidr-absolute
-rw-r--r--hadrian/src/Rules/Test.hs7
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"