mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-10-26 09:37:17 +03:00
2812ae6745
We have been disabling terminfo in our GHC builds for cross compilers (windows and musl). This leads to an interesting problem when we `cabal configure` a project that needs `ghc`. The resulting `plan.json` might suggest that we should use the preexisting `ghc`. When it does though it does not include the `flags` needed to build it. One fix would be to default the the `ghc` `terminfo` flag to `false` for cross compilers. It turns out though that the reason we could not get the `terminfo` package to work with our cross compilers was that we were providing the `hostPlatform` `ncursers` when we needed the `targetPlatform` `ncursers`. Fixing that makes the cross compilers more like the native ones. Also stops pinning wine to 5.4 on macOS (pinned version does not work there) |
||
---|---|---|
.. | ||
bootstrap | ||
ghc | ||
ghcjs | ||
windows/include |