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

Use nixpkgs variants of Sphinx packages #3227

Merged
merged 1 commit into from
Sep 27, 2022

Conversation

ozkutuk
Copy link
Collaborator

@ozkutuk ozkutuk commented Sep 27, 2022

Fixes #3211

This PR replaces manually specified myst-parser and sphinx_rtd_theme packages with their counterparts already packaged on nixpkgs. With this change, poetry2nix is no more used, therefore that is removed as well.

The documentation build via Nix (nix build .#docs) still fails. However, the cause of failure is not related to the Nix infrastructure, but a warning in the documentation source. Nix build of the documentation promotes warnings to errors, hence the failure. We need to either lift this restriction, or actually fix the warning. Either way, that should be handled in a separate PR.

This commit replaces manually specified `myst-parser` and `sphinx_rtd_theme`
packages with their counterparts already packaged on nixpkgs. With this
change, `poetry2nix` is no more used, therefore that is removed as well.
Copy link
Collaborator

@michaelpj michaelpj left a comment

Choose a reason for hiding this comment

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

Excellent, thank you. I think myst_parser was not in nixpkgs when I wrote this.

@michaelpj michaelpj merged commit 468db6f into haskell:master Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Building documentation fails with a Python import error
2 participants