[Git][ghc/ghc][master] Hadrian: Don't try to build terminfo on Windows

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Sat Sep 17 01:43:01 UTC 2022



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
5031bf49 by sheaf at 2022-09-16T21:42:49-04:00
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.

- - - - -


1 changed file:

- hadrian/src/Rules/ToolArgs.hs


Changes:

=====================================
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]))]



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5031bf49793f3470a9fd9036829a08e556584d8a

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5031bf49793f3470a9fd9036829a08e556584d8a
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20220916/e078980f/attachment.html>


More information about the ghc-commits mailing list