Skip to content

Commit

Permalink
sphinx-rtd-theme: fix missing docutils for cross compilation
Browse files Browse the repository at this point in the history
The tests are disabled when cross compiling. The effect of adding
pythonRelaxDepsHook to check inputs is that it is skipped when cross
compiling or when checks are disabled.
  • Loading branch information
Cynerd committed Mar 8, 2023
1 parent 042dd5c commit 2d29fbd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/development/python-modules/sphinx-rtd-theme/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@ buildPythonPackage rec {
sphinxcontrib-jquery
];

nativeBuildInputs = [
pythonRelaxDepsHook
];

nativeCheckInputs = [
pytestCheckHook
pythonRelaxDepsHook
readthedocs-sphinx-ext
];

Expand Down

0 comments on commit 2d29fbd

Please sign in to comment.