ghc: patch build of docs after sphinx update#263923
Merged
vcunat merged 1 commit intoNixOS:staging-nextfrom Oct 28, 2023
Merged
ghc: patch build of docs after sphinx update#263923vcunat merged 1 commit intoNixOS:staging-nextfrom
vcunat merged 1 commit intoNixOS:staging-nextfrom
Conversation
Member
Author
|
I think this would be a recommended approach to fix this, but I don't know this stuff.
|
Member
Author
|
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. |
Member
|
Marking as ready, so the codeowners will be requested and we can move this along. |
Member
Member
Author
|
I'm looking into how it applies to other GHC versions. |
sternenseemann
approved these changes
Oct 28, 2023
Member
sternenseemann
left a comment
There was a problem hiding this comment.
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).
Member
Author
|
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) |
sternenseemann
approved these changes
Oct 28, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Upstream: https://gitlab.haskell.org/ghc/ghc/-/issues/24129
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)