summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorsheaf <sam.derbyshire@gmail.com>2022-09-16 13:24:48 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-09-16 21:42:49 -0400
commit5031bf49793f3470a9fd9036829a08e556584d8a (patch)
tree0b3ebf51a9b9d71eb49f32bc25c7d02c57cb2352 /hadrian
parent383f75494a936bbc2f794a788141b103cd482913 (diff)
downloadhaskell-5031bf49793f3470a9fd9036829a08e556584d8a.tar.gz
Hadrian: Don't try to build terminfo on Windows
Commit b42cedbe introduced a dependency on terminfo on Windows, but that package isn't available on Windows.
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/src/Rules/ToolArgs.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/hadrian/src/Rules/ToolArgs.hs b/hadrian/src/Rules/ToolArgs.hs
index 6bcdafdcdf..c7a31fea3c 100644
--- a/hadrian/src/Rules/ToolArgs.hs
+++ b/hadrian/src/Rules/ToolArgs.hs
@@ -167,10 +167,9 @@ toolTargets = [ binary
, time
, templateHaskell
, text
- , terminfo
, transformers
, unlit -- # executable
- ] ++ if windowsHost then [ win32 ] else [ unix ]
+ ] ++ if windowsHost then [ win32 ] else [ terminfo, unix ]
-- | Create a mapping from files to which component it belongs to.
dirMap :: Action [(FilePath, (Package, [String]))]