diff --git a/pkgs/development/python-modules/hdbscan/default.nix b/pkgs/development/python-modules/hdbscan/default.nix index 9fa932c7e418..29dd585d8bec 100644 --- a/pkgs/development/python-modules/hdbscan/default.nix +++ b/pkgs/development/python-modules/hdbscan/default.nix @@ -9,6 +9,7 @@ , fetchPypi , joblib , six +, pythonRelaxDepsHook }: buildPythonPackage rec { @@ -28,7 +29,8 @@ buildPythonPackage rec { }) ]; - nativeBuildInputs = [ cython ]; + pythonRemoveDeps = [ "cython" ]; + nativeBuildInputs = [ pythonRelaxDepsHook cython ]; propagatedBuildInputs = [ numpy scipy scikit-learn joblib six ]; preCheck = '' cd hdbscan/tests