summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsheaf <sam.derbyshire@gmail.com>2022-07-21 16:19:00 +0000
committersheaf <sam.derbyshire@gmail.com>2022-07-21 16:19:00 +0000
commit702437b3309d64425b151def02703062a086716d (patch)
tree854c5e9d4e8498ffc30b1f7b6348554c2fd8f355
parente2f0094c315746ff15b8d9650cf318f81d8416d7 (diff)
downloadhaskell-wip/hadrian-ghci-windows.tar.gz
Hadrian: don't try to build "unix" on Windowswip/hadrian-ghci-windows
-rw-r--r--hadrian/src/Rules/ToolArgs.hs52
1 files changed, 26 insertions, 26 deletions
diff --git a/hadrian/src/Rules/ToolArgs.hs b/hadrian/src/Rules/ToolArgs.hs
index 2641188f5b..3eabb3ffb7 100644
--- a/hadrian/src/Rules/ToolArgs.hs
+++ b/hadrian/src/Rules/ToolArgs.hs
@@ -154,32 +154,32 @@ allDeps = do
-- which takes a while to compile.
toolTargets :: [Package]
toolTargets = [ binary
- , bytestring
- , cabalSyntax
- , cabal
- , compiler
- , directory
- , process
- , exceptions
--- , ghc # depends on ghc library
--- , runGhc # depends on ghc library
- , ghcBoot
- , ghcBootTh
- , ghcHeap
- , ghci
--- , ghcPkg # executable
--- , haddock # depends on ghc library
--- , hsc2hs # executable
- , hpc
--- , hpcBin # executable
- , mtl
- , parsec
- , time
- , templateHaskell
- , text
- , transformers
--- , unlit # executable
- , unix ]
+ , bytestring
+ , cabalSyntax
+ , cabal
+ , compiler
+ , directory
+ , process
+ , exceptions
+-- , ghc # depends on ghc library
+-- , runGhc # depends on ghc library
+ , ghcBoot
+ , ghcBootTh
+ , ghcHeap
+ , ghci
+-- , ghcPkg # executable
+-- , haddock # depends on ghc library
+-- , hsc2hs # executable
+ , hpc
+-- , hpcBin # executable
+ , mtl
+ , parsec
+ , time
+ , templateHaskell
+ , text
+ , transformers
+-- , unlit # executable
+ ] ++ if windowsHost then [ win32 ] else [ unix ]
-- | Create a mapping from files to which component it belongs to.
dirMap :: Action [(FilePath, (Package, [String]))]