diff --git a/pkgs/development/python-modules/reflink/default.nix b/pkgs/development/python-modules/reflink/default.nix index 9f5024daf7e8..cb0a9fb5856a 100644 --- a/pkgs/development/python-modules/reflink/default.nix +++ b/pkgs/development/python-modules/reflink/default.nix @@ -3,7 +3,6 @@ , fetchPypi , lib , pytestCheckHook -, pytest-runner }: buildPythonPackage rec { @@ -15,10 +14,17 @@ buildPythonPackage rec { sha256 = "sha256-ySU1gtskQTv9cDq/wbKkneePMbSQcjnyhumhkpoebjo="; }; - propagatedBuildInputs = [ cffi pytest-runner ]; + propagatedBuildInputs = [ cffi ]; + + propagatedNativeBuildInputs = [ cffi ]; checkInputs = [ pytestCheckHook ]; + postPatch = '' + substituteInPlace setup.py \ + --replace "pytest-runner" "" + ''; + # FIXME: These do not work, and I have been unable to figure out why. doCheck = false;