[haskell-updates] ghc: Backport compact unwind support#166571
[haskell-updates] ghc: Backport compact unwind support#166571sternenseemann merged 3 commits intoNixOS:haskell-updatesfrom
Conversation
pkgs/development/haskell-modules/patches/inline-c-cpp-fcompact-unwind.patch
Outdated
Show resolved
Hide resolved
75ccbd1 to
8b78429
Compare
8b78429 to
b9fa562
Compare
b9fa562 to
35f137e
Compare
|
|
||
| patches = [ | ||
| # Add flag that fixes C++ exception handling; opt-in. Merged in 9.4 and 9.2.2. | ||
| # https://gitlab.haskell.org/ghc/ghc/-/merge_requests/7423 |
There was a problem hiding this comment.
I left a comment on the ghc MR w.r.t. documentation, given that it's a full rebuild to update it, can you take a look at that?
There was a problem hiding this comment.
I've addressed that comment in an extra upstream commit, which is not part of the fetchpatch below, so no rebuild is required.
This technically leaves the feature undocumented in our build, but I don't expect any significant number of people to use the built documentation in the store, let alone a user who needs to use the feature.
|
@roberth Did you check that |
|
@sternenseemann I actually assumed that it'd be new enough or that it'd be okay because it'd be updated somewhat frequently. That appears to have been a little presumptuous. I've tried to build an updated ghcHEAD, but it fails to build I've made a start https://github.com/NixOS/nixpkgs/compare/ghcHEAD-update?expand=1 but it's not something I can actually carry out now, so I don't think a PR should have my name on it :) |
|
Okay, so this is going to be a side quest where I have to make a new |
Motivation
Allow to fix C++ exception handling in GHC-linked programs.
Make sure inline-c-cpp actually works using its test suite
Solve a problem with hercules-ci-agent on darwin (tbd in upcoming release)
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes