New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ghc: patch build of docs after sphinx update #263923
Conversation
I think this would be a recommended approach to fix this, but I don't know this stuff.
|
My expectation is that this should also work with (some?) previous versions of sphinx, but we most likely don't need to consider that in nixpkgs. |
Marking as ready, so the codeowners will be requested and we can move this along. |
I'm looking into how it applies to other GHC versions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like we replecate the old behavior this way: https://github.com/sphinx-doc/sphinx/pull/11381/files#diff-991c6e04000e3882ef75aeef0295198a89115779015d713e0d1535a48bf653f3
The 8.x versions don't seem to need this (and the patch wouldn't apply).
I think I've covered everything now. 8.x seemed OK without touching them. For verification I built 9.0, 9.2, 9.4, 9.6, 9.8 and HEAD. (all on x86_64-linux) |
Upstream: https://gitlab.haskell.org/ghc/ghc/-/issues/24129
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)