haskell.nix/compiler
Hamish Mackenzie 2812ae6745
Use targetPackages.ncurses for ghc cross compiler (#1513)
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)
2022-06-11 08:37:16 +12:00
..
bootstrap Use pkgs.lib instead of stdenv.lib (#1031) 2021-02-11 01:07:16 +13:00
ghc Use targetPackages.ncurses for ghc cross compiler (#1513) 2022-06-11 08:37:16 +12:00
ghcjs fix ghcjs (#1311) 2022-01-09 03:11:37 +13:00
windows/include Fix ghc 9 windows cross compilation (#1450) 2022-05-19 20:21:16 +12:00