mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 22:04:20 +00:00
4b00fbf163
1. Explicitly set WITH_TERMINFO. We usually match GHC's behavior well, but it is better to tie the Nix option to make explicitly. Unfortunately, the same is very complicated to achieve with hadrian (iirc). 2. Disable enableTerminfo if we are cross-compiling. This matches the behavior of GHC's build system, so we'll have to match it now. It also reduces the ncurses-related headache a bit. 3. Stop passing --with-curses* flags. Unfortunately, GHC does not account for the fact that different platforms need different ncurses libraries. This is somewhat migitated by the fact that ncurses is only ever needed for the build platform if we are cross compiling, but I seem to remember it leaking into the final GHC somehow. A more reliable alternative is relying on the cc/ld wrapper scripts, as they'll always pull out the correct ncurses out of the environment when GHC's build system passes -lcurses. 4. Unconditionally add ncurses to depsBuildBuild. Stage0 unconditionally builds terminfo (maybe the stage1 compiler needs it?), so we need to make sure that ncurses for the build platform is available. Co-authored-by: sternenseemann <sternenseemann@systemli.org> |
||
---|---|---|
.. | ||
8.6.5-binary.nix | ||
8.10.7-binary.nix | ||
8.10.7.nix | ||
9.0.2.nix | ||
9.2.4-binary.nix | ||
9.2.5.nix | ||
9.2.6.nix | ||
9.2.7.nix | ||
9.2.8.nix | ||
9.4.5.nix | ||
9.4.6-bytestring-posix-source.patch | ||
9.4.6.nix | ||
9.4.7.nix | ||
9.4.8.nix | ||
9.6.3-binary.nix | ||
9.6.3.nix | ||
9.6.4.nix | ||
9.6.5.nix | ||
9.6.6.nix | ||
9.8.1.nix | ||
9.8.2.nix | ||
9.10.1.nix | ||
Cabal-3.2-3.4-paths-fix-cycle-aarch64-darwin.patch | ||
Cabal-3.12-paths-fix-cycle-aarch64-darwin.patch | ||
Cabal-at-least-3.6-paths-fix-cycle-aarch64-darwin.patch | ||
common-hadrian.nix | ||
common-make-native-bignum.nix | ||
docs-sphinx-7-ghc98.patch | ||
docs-sphinx-7.patch | ||
gcc-clang-wrapper.sh | ||
head.nix | ||
respect-ar-path.patch |