python3Packages.reflink: fix cross-compilation

This commit is contained in:
legendofmiracles
2021-10-29 14:42:15 -07:00
committed by Jonathan Ringer
parent 69e1dd893b
commit 4740e8d490
@@ -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;