From b174220283d1011e40b360db043154f9de8d7bda Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Tue, 3 Sep 2024 12:00:00 +0000 Subject: [PATCH] python3Packages.sphinxcontrib-jquery: fix build with doCheck=false for example when cross compiling --- .../python-modules/sphinxcontrib-jquery/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-jquery/default.nix b/pkgs/development/python-modules/sphinxcontrib-jquery/default.nix index 66047794eceaf..afc005af66ef0 100644 --- a/pkgs/development/python-modules/sphinxcontrib-jquery/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-jquery/default.nix @@ -39,10 +39,13 @@ buildPythonPackage rec { pythonImportsCheck = [ "sphinxcontrib.jquery" ]; + dependencies = [ + sphinx + ]; + nativeCheckInputs = [ defusedxml pytestCheckHook - sphinx ]; pythonNamespaces = [ "sphinxcontrib" ];