Skip to content

ghcHEAD: fix mingw build#146959

Merged
Ericson2314 merged 1 commit intoNixOS:haskell-updatesfrom
alexfmpe:cross-mingw-ghc-9
Nov 22, 2021
Merged

ghcHEAD: fix mingw build#146959
Ericson2314 merged 1 commit intoNixOS:haskell-updatesfrom
alexfmpe:cross-mingw-ghc-9

Conversation

@alexfmpe
Copy link
Member

Motivation for this change

Continuation of #132199 work now that https://gitlab.haskell.org/ghc/ghc/-/issues/20657 is fixed in HEAD.
I'm tempted to add these changes to ghc9.0 & ghc9.2 given they're likely to also need it (the 8.x series also has the SplitSections bit), but I can't actually test that's an improvement since they fail earlier.
Should the upstream fix be added as a patch in the derivations here or?

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Nov 22, 2021
libDeps = platform: lib.optional enableTerminfo ncurses
++ [libffi]
libDeps = platform:
[libffi ncurses]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to also be needed in windows now? https://hydra.nixos.org/build/158847644/nixlog/1

@Ericson2314 Ericson2314 merged commit c9b237b into NixOS:haskell-updates Nov 22, 2021
@alexfmpe alexfmpe deleted the cross-mingw-ghc-9 branch June 28, 2024 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: haskell General-purpose, statically typed, purely functional programming language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments