diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d3bccd10b388..6d8d7d8b7586 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -18092,6 +18092,9 @@ in { checkPhase = '' nosetests -v $out/${python.sitePackages} ''; + postPatch = '' + substituteInPlace setup.py --replace "__builtins__.__NUMPY_SETUP__ = False" "" + ''; }; paho-mqtt = buildPythonPackage rec {