Skip to content

Commit 2d29fbd

Browse files
committed
sphinx-rtd-theme: fix missing docutils for cross compilation
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.
1 parent 042dd5c commit 2d29fbd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • pkgs/development/python-modules/sphinx-rtd-theme

pkgs/development/python-modules/sphinx-rtd-theme/default.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ buildPythonPackage rec {
3131
sphinxcontrib-jquery
3232
];
3333

34+
nativeBuildInputs = [
35+
pythonRelaxDepsHook
36+
];
37+
3438
nativeCheckInputs = [
3539
pytestCheckHook
36-
pythonRelaxDepsHook
3740
readthedocs-sphinx-ext
3841
];
3942

0 commit comments

Comments
 (0)