Skip to content
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

Merged
merged 1 commit into from Oct 28, 2023

Conversation

vcunat
Copy link
Member

@vcunat vcunat commented Oct 28, 2023

Upstream: https://gitlab.haskell.org/ghc/ghc/-/issues/24129

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • 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/)
  • 23.11 Release Notes (or backporting 23.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
  • Fits CONTRIBUTING.md.

@vcunat
Copy link
Member Author

vcunat commented Oct 28, 2023

I think this would be a recommended approach to fix this, but I don't know this stuff.

  • check that the docs look OK visually - perhaps by someone familiar with them?
  • apply/check to other GHC versions, too

@vcunat vcunat mentioned this pull request Oct 28, 2023
12 tasks
@vcunat
Copy link
Member Author

vcunat commented Oct 28, 2023

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.

@mweinelt mweinelt marked this pull request as ready for review October 28, 2023 09:17
@mweinelt
Copy link
Member

Marking as ready, so the codeowners will be requested and we can move this along.

@mweinelt
Copy link
Member

The users guide looks the same as before with this patch.

master

image

this pr

image

@vcunat
Copy link
Member Author

vcunat commented Oct 28, 2023

I'm looking into how it applies to other GHC versions.

Copy link
Member

@sternenseemann sternenseemann left a comment

Choose a reason for hiding this comment

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

The 8.x versions don't seem to need this (and the patch wouldn't apply).
@vcunat
Copy link
Member Author

vcunat commented Oct 28, 2023

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)

@vcunat vcunat merged commit 9116839 into NixOS:staging-next Oct 28, 2023
19 checks passed
@vcunat vcunat deleted the p/ghc-docs branch October 30, 2023 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants